Skip to content
Prev 7741 / 21312 Next

[Bioc-devel] Challenges with package installation on fresh R

----- Original Message -----
After looking at it some more, I observe:

1) It looks like biocLite() does not pass a repositories argument to install_github(). So it's probably best not to biocLite() for anything but the most trivial installations from github, at least for now. So let's try and remove biocLite() from the equation.
2) install_github() seems to have a problem even if you pass it a repos argument. 

For example:

library(BiocInstaller) # to get biocinstallRepos() function
library(devtools)
install_github("vladpetyuk/toypack", dependencies=TRUE, repos=biocinstallRepos())

It says "Skipping 13 packages not available" and lists all the Bioconductor packages it "tried" to install.
The repos argument is supposed to be passed (as part of ...) to install.packages() but install.packages() is never called (I know because I called debug() on it and never got to a debugger).

So I'd say this is either a bug in devtools or a bug in our understanding of how install_github() is supposed to work. 

So I would maybe ask about this at https://github.com/hadley/devtools/issues . 

Dan