KasperSkytte / cafekapper.dk

Repo for the website
GNU General Public License v3.0
0 stars 0 forks source link

posts/devcontainer_renv/ #3

Open utterances-bot opened 1 month ago

utterances-bot commented 1 month ago

How and why I do R projects within a development container | cafekapper.dk

When doing many different projects and analyses involving R it’s always a struggle keeping track of R package versions and the version of R itself. Often you’ll see yourself returning to an old project somewhere, maybe on a different computer, or passing on your code to/from someone else. The required R packages are hopefully listed at the top of the R script or R markdown file so that it’s clear which ones have been used throughout the code.

https://cafekapper.dk/posts/devcontainer_renv/

KasperSkytte commented 1 month ago

See https://github.com/rocker-org/devcontainer-features/blob/main/src/renv-cache/README.md