Closed SaintRod closed 2 weeks ago
@jibarozzo, please take a look and let me know what you think.
I tested this on my machine, and it works.
The only noteworthy thing is that installing usethis
for the first time can be a bit slow.
I read more on how renv
works and this is the best solution. I was confused about how renv worked. After their initial installation the package is stored in ~/.cache/R/renv/
not the base R library. Any new project that uses the same package gets linked to the one stored in the cache. This speed up "installation" of the package.
I read more on how
renv
works and this is the best solution. I was confused about how renv worked. After their initial installation the package is stored in~/.cache/R/renv/
not the base R library. Any new project that uses the same package gets linked to the one stored in the cache. This speed up "installation" of the package.
Great investigative work. I knew packages installed via renv::install()
were stored in cache but not renv
itself. So installing usethis
the first time will be slow but subsequent installations will be faster because of caching.
Based on the proposed idea from PR.
When -l r and -p path are specified, then: