require: Package dependencies for reproducible research

被引:0
作者
Correia, Sergio [1 ]
Seay, Matthew P. [1 ]
机构
[1] Board Governors Fed Reserve Syst, Washington, DC 20551 USA
关键词
pr0081; require; SSC; which; reproducible research; package management; dependency management; GitHub; STATA;
D O I
10.1177/1536867X241297915
中图分类号
O1 [数学]; C [社会科学总论];
学科分类号
03 ; 0303 ; 0701 ; 070101 ;
摘要
The ability to conduct reproducible research in Stata is often limited by the lack of version control for community-contributed packages. In this article, we introduce the require command, a tool designed to ensure package dependencies are compatible across users and computer systems. Given a list of packages, require verifies that each package is installed, checks for a minimum or exact version or package release date, and optionally installs the package if prompted by the researcher.
引用
收藏
页码:599 / 613
页数:15
相关论文
共 26 条
  • [1] Andrade L., 2021, WORKSH REPR SCI RES
  • [2] Baldridge A. S., 2019, 2019 STAT C CHIC JUL
  • [3] Baum C. F., 2021, Using Stata for data management and reproducible research
  • [4] Instrumental variables and GMM: Estimation and testing
    Baum, Christopher F.
    Schaffer, Mark E.
    Stillman, Steven
    [J]. STATA JOURNAL, 2003, 3 (01) : 1 - 31
  • [5] Bravo M. C., 2018, Statistical Software Components S458514
  • [6] Cacioppo JT, 2015, Report of the Subcommittee on Replicability in Science Advisory Committee to the National Science Foundation Directorate for Social, Behavioral, and Economic Sciences, P1
  • [7] Robust data-driven inference in the regression-discontinuity design
    Calonico, Sebastian
    Cattaneo, Matias D.
    Titiunik, Rocio
    [J]. STATA JOURNAL, 2014, 14 (04) : 909 - 946
  • [8] Correia Sergio., 2014, Statistical Software Components S457874
  • [9] A brief history of Stata on its 20th anniversary
    Cox, NJ
    [J]. STATA JOURNAL, 2005, 5 (01) : 2 - 18
  • [10] DIME Analytics, 2024, repkit: Package providing a utility toolkit for reproducibility best-practices