You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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).
@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.
@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.
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. https://reprex.tidyverse.org/
lockbot
locked and limited conversation to collaborators
Sep 18, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugan unexpected problem or unintended behaviorinstall
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 seemsdevtools::install()
fails to find package C when trying to install B (and thus fails to install A & B). A simpleinstall.packages("A", repo="my.drat.repo")
works fine.For a concrete example:
Works just fine. But
fails by failing to install the suggested dependency
rrdf
becauserrdflibs
is "not available", even though both are on the drat repo.The text was updated successfully, but these errors were encountered: