renv: Project Environments for R

This is a companion discussion topic for the original entry at https://www.rstudio.com/blog/renv-project-environments-for-r


We’re excited to announce that renv is now available on CRAN! You can install renv with:
install.packages("renv") renv is an R dependency manager. Use renv to make your projects more:
Isolated: Each project gets its own library of R packages, so you can feel free to upgrade and change package versions in one project without worrying about breaking your other projects.
Portable: Because renv captures the state of your R packages within a lockfile, you can more easily share and collaborate on projects with others, and ensure that everyone is working from a common base.