Skip to content

install_github not installing dependencies even with updated version of devtools #1298

@charlottesirot

Description

@charlottesirot

Dear developers,

I try to install my package (https://github.com/charlottesirot/elementR) from github on my win7 machine without success. I have the same issue than juliasilge/widyr#3 and #1265. So I tried with the new version of devtools but it seems not to work:

>devtools::install_github("hadley/devtools", force = T)
Downloading GitHub repo hadley/devtools@master
from URL https://api.github.com/repos/hadley/devtools/zipball/master
Installing devtools
"C:/PROGRA~1/R/R-33~1.1/bin/i386/R" --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  "C:/Users/cha/AppData/Local/Temp/RtmpQ9I7QI/devtools24053e462ea/hadley-devtools-e6ad9b5"  \
  --library="C:/Users/cha/Documents/R/win-library/3.3" --install-tests 

* installing *source* package 'devtools' ...
** R
** inst
** tests
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (devtools)
Reloading installed devtools
> install_github('Rstudio/DT')
Downloading GitHub repo Rstudio/DT@master
from URL https://api.github.com/repos/Rstudio/DT/zipball/master
Installing DT
"C:/PROGRA~1/R/R-33~1.1/bin/i386/R" --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  "C:/Users/cha/AppData/Local/Temp/RtmpQ9I7QI/devtools24027754908/rstudio-DT-25d879b"  \
  --library="C:/Users/cha/Documents/R/win-library/3.3" --install-tests 

* installing *source* package 'DT' ...
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'Rcpp'
ERROR: lazy loading failed for package 'DT'
* removing 'C:/Users/cha/Documents/R/win-library/3.3/DT'
Error: Command failed (1)
> install_github('Rstudio/DT', dependencies = T)
Downloading GitHub repo Rstudio/DT@master
from URL https://api.github.com/repos/Rstudio/DT/zipball/master
Installing DT
"C:/PROGRA~1/R/R-33~1.1/bin/i386/R" --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  "C:/Users/cha/AppData/Local/Temp/RtmpQ9I7QI/devtools240743c1947/rstudio-DT-25d879b"  \
  --library="C:/Users/cha/Documents/R/win-library/3.3" --install-tests 

* installing *source* package 'DT' ...
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'Rcpp'
ERROR: lazy loading failed for package 'DT'
* removing 'C:/Users/cha/Documents/R/win-library/3.3/DT'
Error: Command failed (1)
> library(devtools)
> install_github('Rstudio/DT', dependencies = T)
Downloading GitHub repo Rstudio/DT@master
from URL https://api.github.com/repos/Rstudio/DT/zipball/master
Installing DT
"C:/PROGRA~1/R/R-33~1.1/bin/i386/R" --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  "C:/Users/cha/AppData/Local/Temp/RtmpQ9I7QI/devtools2403d75358c/rstudio-DT-25d879b"  \
  --library="C:/Users/cha/Documents/R/win-library/3.3" --install-tests 

* installing *source* package 'DT' ...
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'Rcpp'
ERROR: lazy loading failed for package 'DT'
* removing 'C:/Users/cha/Documents/R/win-library/3.3/DT'
Error: Command failed (1)

I don't understand why... Do I miss something ?
Sorry if this is a newbie question :S

Thank you very much in advance for your answer

cha

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorinstall

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions