Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devtools::install and install_github do not pass on Additional_repositories on when installing deps? #1243

cboettig opened this issue Jun 28, 2016 · 5 comments
bug an unexpected problem or unintended behavior install


Copy link

If I have package A that depends on package B, which depends on package C; and B & C are in the listed Additional_repositories drat repository, it seems devtools::install() fails to find package C when trying to install B (and thus fails to install A & B). A simple install.packages("A", repo="my.drat.repo") works fine.

For a concrete example:

install.packages("RNeXML", dep=TRUE, repos=c("", ""))

Works just fine. But

devtools::install_github("ropensci/RNeXML", deps=TRUE)

fails by failing to install the suggested dependency rrdf because rrdflibs is "not available", even though both are on the drat repo.

Copy link

Also, the discussion in the remotes vignette fails to mention drat use. Given that CRAN supports it, and other packages use it, you may want to mention this (as a non-devtools alternative).

Copy link

@cboettig I just opened a PR that should address your issue (as long as you specify your repos appropriately)

@eddelbuettel That vignette was written to explain the remotes feature of devtools, not as a general review of available CRAN alternatives. However if you would like drat to be mentioned in it I am sure we would be happy to merge a pull request with the change.

Copy link

Thanks @jimhester , very nice!

Copy link

@jimhester could do if you think it fits -- I was mostly coming from the 'well remotes is not the only way to do this' angle of actually mentioning the fact that CRAN now formally supports Additional_repositories. The remotes documentation, focused as it is, seems to imply it was the only game in town.

Copy link

lock bot commented Sep 18, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue.

@lock lock bot locked and limited conversation to collaborators Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
bug an unexpected problem or unintended behavior install
None yet

No branches or pull requests

4 participants