Using renv to track the version of your packages in R (CC229)

July 11, 2022 • PD Schloss • 1 min read

Posting your R code is good. But posting your code with instructions for what R package versions need to be installed will take your reproducibility to another level. In this episode, Pat uses the renv R package to show you how to set up a project and keep track of the packages and versions that you are using. Then he shows how anyone can grab a copy of your project from GitHub and recreate your package environment

Code

You can browse the state of the repository at the