A complete declarative description of the computational environment is often missing when researchers share their materials. Without such description, software obsolescence and missing system components can jeopardize computational reproducibility in the future, even when data and computer code are available. The R package rang is a complete solution for generating the declarative description for other researchers to automatically reconstruct the computational environment at a specific time point. The reconstruction process, based on Docker, has been tested for R code as old as 2001. The declarative description generated by rang satisfies the definition of a reproducible research compendium and can be shared as such. In this contribution, we show how rang can be used to make otherwise unexecutable code, spanning from fields such as computational social science and bioinformatics, executable again. We also provide instructions on how to use rang to construct reproducible and shareable research compendia of current research. The package is currently available from CRAN (https://cran.r-project.org/web/packages/rang/index.html) and GitHub (https://github.com/chainsawriot/rang).
翻译:当研究人员分享其材料时,往往缺乏对计算环境的完整宣示性描述;没有这种描述,软件过时和缺失的系统部件,即使有数据和计算机代码,也会危及今后在计算上的再复制;R 套件是生成其他研究人员在特定时间点自动重建计算环境的宣示性描述的完整解决方案;基于Docker的重建进程已经测试了与2001年一样的旧的R代码。拉响产生的宣示性描述满足了可复制研究汇编的定义,并可以这样共享。在这个贡献中,我们展示了如何使用朗来制作其他无法执行的代码,它来自计算社会科学和生物信息学等领域,可以再次执行。我们还就如何使用拉动来构建当前研究的可复制和可分享的研究编译内容提供了指导。该套件目前可从CRAN(https://cran.r-project.org/web/packages/rang/index.html)和GitHub(http://girugrob./cleawsaws/calawawaws)获得。</s>