Groundhog: Addressing the Threat That R Poses to Reproducible Research
1–10 of 124 posts
Re: Groundhog: Addressing the Threat That R Poses to Reproducible Research
#2My favorite description of the language comes from http://arrgh.tim-smith.us/:
> R is a shockingly dreadful language for an exceptionally useful data analysis environment.
I feel like this is just one more data point to support that statement.
Re: Groundhog: Addressing the Threat That R Poses to Reproducible Research
#3Microsoft MRAN https://mran.microsoft.com/
> For the purpose of reproducibility, MRAN hosts daily snapshots of the CRAN R packages and R releases as far back as Sept. 17, 2014.
MRAN doesn't seem to be very well known or used in the R community, but I don't really know why?
Separately, Nix https://nixos.org/ also solves this problem for lots of different languages, but is difficult to get started with and still a bit rough around the edges. Probably not a good recommendation for a typical analyst or academic at this point.
Re: Groundhog: Addressing the Threat That R Poses to Reproducible Research
#4If you want to guarantee reproducible results you have to use a container/image with libraries added at build time. Anytime you are relying on floating versions or downloaded libraries you will have issues.
Re: Groundhog: Addressing the Threat That R Poses to Reproducible Research
#5Is this person suggesting we never improve anything? :)
Re: Groundhog: Addressing the Threat That R Poses to Reproducible Research
#6This approach enables stricter validations against tampering with the package repositories as a hash of the package can be stored in the lockfile, however it is obviously a bit more complex to use than the groundhog approach.
Re: Groundhog: Addressing the Threat That R Poses to Reproducible Research
#7Given this, it almost seems more dangerous to imply through this package that a particular date's results are reproducible, since unless the user has the same version of R, they may see different results anyway.
[0]: https://stat.ethz.ch/pipermail/r-announce/2020/000653.html
Re: Groundhog: Addressing the Threat That R Poses to Reproducible Research
#8There's certainly benefits to being able to pull down research source code, and bug checking it. That's how programmers check code: tests and audits.
However I think reproducing research is more often then not done "from scratch", taking a new sample, treating it, checking results. "independent verification".
Re-using source code saves time, but I would argue not being able to shouldn't threaten reproducibility.
Re: Groundhog: Addressing the Threat That R Poses to Reproducible Research
#9Nothing about this is specific to R. If you want to guarantee reproducible results you have to use a container/image with libraries added at build time. Anytime you are relying on floating versions or downloaded libraries you will have issues.
Re: Groundhog: Addressing the Threat That R Poses to Reproducible Research
#10Nothing about this is specific to R. If you want to guarantee reproducible results you have to use a container/image with libraries added at build time. Anytime you are relying on floating versions or downloaded libraries you will have issues.