Loading…

require: Package dependencies for reproducible research

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 o...

Full description

Saved in:
Bibliographic Details
Published in:The Stata journal 2024-12, Vol.24 (4), p.599-613
Main Authors: Correia, Sergio, Seay, Matthew P.
Format: Article
Language:English
Citations: Items that this one cites
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary: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.
ISSN:1536-867X
1536-8734
DOI:10.1177/1536867X241297915