I'm looking for a convenient and reliable way to make an R analysis reproducible, either at different times or across collaborators.
Listing the package versions or a
sessionInfo() output is not very helpful, as it leaves the work of re-creating the environment entirely to you.
As I see, in order to make analysis reproducible, the following has to be the same:
- the R environment (R, repos (Bioconductor), packages, and maybe RStudio)
- seed for random processes:
I'll post an answer, but would like to hear about other options.