For a bookdown project, what is the best way to always build it packages that are fixed in version number?

I currently have a bookdown project which relies on many R packages. I would like to keep a "snapshot" of this project so that in the future, I am able to run it using the same R package versions as before. Is there a straightforward way to specify exactly the R versions for each of the packages I use? For example, one of them is fdrtool which I'd like to force whatever future user to use at version 1.2.15. Thank you.

1 Like

I believe renv is one option https://github.com/rstudio/renv

It's basically a way to manage packages in your project. I use it for non- bookdown Rmd projects, but it might be useful.

2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.