arrow
Return

repkit: Tools for reproducible coding

delete2025-12-03
delete0
PRE
AI
K
Kristoffer Bjärkefur
B
Benjamin Daniels
L
Luis Eduardo San Martín
A
Ankriti Singh
DOI:10.1177/1536867x251398246delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Writing Stata code that produces the same results on another user’s machine is an essential component of modern reproducible data analysis workflows. However, a number of reasons may make it difficult to do so without detailed knowledge of the recipient’s environment. For example, differences between installation of (third-party) community-contributed files may cause failures. Furthermore, even when the environment is not an issue, users may make errors regarding random-number generation in the Stata code. These issues can be very challenging to detect from the code output alone. The repkit package provides new tools to automate: the location of root file paths; the configuration of community-contributed command installations; “linting” of the Stata code for readability; and the precise detection of code issues affecting reproducibility.

Journal

T
The Stata Journal: Promoting communications on statistics and Stata
IF:
0
Papers:
41
Citations:
0

Organization

Cited Papers

Cited Papers

require: Package dependencies for reproducible research
err2024-12-24
err0
PREAI
errCorreia, Sergio; Seay, Matthew P.
errShare
errSave
How to make replication the norm
errNATURE
IF48.5
err2018-02-21
err44
errOAAI
errGertler, Paul; Galiani, Sebastian; Romero, Mauricio
errShare
errSave
Suggestions on Stata programming style
err2005-12-01
err4
errOAAI
errCox, Nicholas J.
errShare
errSave
Transparent and Reproducible Social Science Research
err
IF0
err2019-07-23
err0
PREAI
errGarret Christensen; Jeremy Freese; Edward Miguel
errShare
errSave
Development Research in Practice: The DIME Analytics Data Handbook
err
IF0
err2021-07-16
err0
PREAI
errBjärkefur,Kristoffer; Cardoso de Andrade,Luíza; Daniels,Benjamin; Jones,Maria Ruth
errShare
errSave
no more