Skip to content

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

Closed
@cboettig

Description

@cboettig

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("https://cran.rstudio.com", "http://packages.ropensci.org"))

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.

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