repro icon indicating copy to clipboard operation
repro copied to clipboard

reproduction w/o docker

Open brandmaier opened this issue 3 years ago • 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.

brandmaier avatar Mar 16 '22 11:03 brandmaier

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.

brandmaier avatar Mar 16 '22 11:03 brandmaier

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.

aaronpeikert avatar Mar 16 '22 12:03 aaronpeikert

Most important is a quick way of setting up local R to have all R packages installed in my view.

brandmaier avatar Mar 16 '22 16:03 brandmaier