reproresearchR is the companion R package for the open
educational resource Reproducible Research Using R by Christian
Martinez.
The package is designed to support reproducible research workflows in R by providing:
This package is especially useful for students, instructors, and self-learners who want a structured way to practice transparent, organized, and repeatable analysis.
This package accompanies:
Martinez (2026), Reproducible Research Using R
https://martinezc1-reproducible-research-using-r.share.connect.posit.cloud/
https://doi.org/10.5281/zenodo.19136755
Install the development version from GitHub:
# install.packages("remotes")
remotes::install_github("martinezc1/reproresearchR")The package includes:
The package includes teaching datasets used in the textbook, such as: - exam_data - infection_treatments - pizza_prices
library(reproresearchR)
list_chapters()
tmp <- tempdir()
chapter_script(2, "helper", dest = tmp, overwrite = TRUE)reproresearchR was built to make reproducible research
more approachable and more practical. Rather than learning workflows in
the abstract, users work directly with datasets, scripts, and examples
tied to a full textbook and teaching framework.
The goal is to help learners build habits that support: