openpharma / staged.dependencies

R package to implement development stages for package development
https://openpharma.github.io/staged.dependencies/
MIT License
12 stars 3 forks source link

Use `renv::install` when working in an renv environment #146

Closed nikolas-burkoff closed 2 years ago

nikolas-burkoff commented 2 years ago

If you are working inside an renv environment when you call install_deps then any missing external dependencies are installed using remotes (specifically remotes::install_deps) and it appears remotes does not use the renv cache:

image

Using renv::install installs dependencies and does use the cache:

image image

We should allow (enable by default?) using the renv cache if you are in an active renv project...