reproduction w/o docker
Opened this issue · 3 comments
I have the problem that I want to reproduce a research project that was created with repro
on a computer that does not have Make and Docker. Could we have something like an emergency repro mode that tries to build the project no matter what's available? In this case, it could parse through all Rmds, install the packages from the meta information and then try to build all Rmds, or ask the user, which Rmd to build because we do not know the order. Of course, we should issue a big fat warning that reproducibility is not guaranteed at all (e.g. that the installed R and required R versions differ; that package versions differ; etc...) but at least one could attempt to recreate the build environment to some degree.
at the very least, it would be nice if there was a function that locally installs all R packages (github and CRAN) that are listed in all Rmds from a given repro directory. I missed this function already at several occasions.
I am pretty sure the install listed packages
function exists somewhere...
Anyway, its a good idea to have an R native solution. I think before we develop something ourselves we should depend on renv/targets.
Most important is a quick way of setting up local R to have all R packages installed in my view.