Does install_github recursively install dependencies?

The devtools R package devtools be the preferred method for installing R packages directly from your github repository using the install_github() function.

In this case, not only the addressable github package is installed, but also its direct dependencies on the CRAN, that is, dependent and imported values ​​defined in the package description / namespace files.

However, I am wondering if the required packages are automatically installed indirectly, such as those that are in turn required by the Depends and Imports packages.

For example, when installing the DT package through install_github("rstudio/DT") , the Imports htmltools package is also installed ( dependencies=TRUE ), but not the Rcpp package, on which the first depends (R 3.3.1, Rtools34, Win10, x64). Do I need to install such packages differently?

+5
source share
1 answer

The error problem is resolved for devtools >1.12.0 , as available on github. Well, that version can be installed via install_github("hadley/devtools") using devtools . The problem is apparently limited to R>=3.3.0 for Windows.

+5
source

All Articles