Dear Kelly,
Have a look at the renv package (https://CRAN.R-project.org/package=renv).
Once setup, your code reduces to renv::restore()
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH
I have R packages I want to use.
Q. What is the "best" way to get to a point where all of the packages
are installed and "ready to use", AND where I only install or
re-install a package if doing so is needed?
#I searched the web for insights and found these:
2 matches
Mail list logo