I'll keep this updated with the list of packages I use at work, so that I can setup a new instance of R & RStudio when changing computers easily.
The main inspiration comes from Tom Jemmett's gist here, but also from this NHS-R community post.
To save the list of packages, run install_list_of_packages.r
- this compiles all CRAN
and GitHub
-installed packages. If there is an existing packages_to_install.rds
file from before, the list of packages will be merged between the existing file and the currently installed packages.
To install packages, run install_list_of_packages.r
.