首页    期刊浏览 2024年12月04日 星期三
登录注册

文章基本信息

  • 标题:Enhancing Reproducibility and Collaboration via Management of R Package Cohorts
  • 本地全文:下载
  • 作者:Gabriel Becker ; Cory Barr ; Robert Gentleman
  • 期刊名称:Journal of Statistical Software
  • 印刷版ISSN:1548-7660
  • 电子版ISSN:1548-7660
  • 出版年度:2017
  • 卷号:82
  • 期号:1
  • 页码:1-18
  • DOI:10.18637/jss.v082.i01
  • 语种:English
  • 出版社:University of California, Los Angeles
  • 摘要:Science depends on collaboration, result reproduction, and the development of supporting software tools. Each of these requires careful management of software versions. We present a unified model for installing, managing, and publishing software contexts in R. It introduces the package manifest as a central data structure for representing versionspecific, decentralized package cohorts. The manifest points to package sources on arbitrary hosts and in various forms, including tarballs and directories under version control. We provide a high-level interface for creating and switching between side-by-side package libraries derived from manifests. Finally, we extend package installation to support the retrieval of exact package versions as indicated by manifests, and to maintain provenance for installed packages. The provenance information enables the user to publish libraries or sessions as manifests, hence completing the loop between publication and deployment. We have implemented this model across three software packages, switchr, switchrGist and GRANBase, and have released the source code under the Artistic 2.0 license.
国家哲学社会科学文献中心版权所有