-
Notifications
You must be signed in to change notification settings - Fork 163
Description
There is a similar issue logged for packrat as well - rstudio/packrat#583
Artifactory does not store archived versions in a CRAN-like way - see
The last issue from Artifactory looks like they have changed this in their code but I'm not clear on what version this fix is included in.
I thought about re-implementing this PR from remotes - r-lib/remotes#441 - thinking that will also fix renv but now I don't believe that that is true (since renv only Suggests remotes)
Am I correct in reading the code that install.R eventually calls r_cmd_install on packages?
And the code that works out the correct location of the package is in retreive.R?
Not sure if it makes sense to change renv_retrieve_repos_archive to also try with
repo <- file.path(repo, "src/contrib/Archive", record$Package, record$Version)
or if renv_retrieve_repos_impl should do the test - this is only broken for Archive'd versions...
But am I correct in assuming that a fix to remotes won't do anything for renv?