reproducible: Enhance Reproducibility of R Code

A collection of high-level, machine- and OS-independent tools for making reproducible and reusable content in R. The two workhorse functions are Cache() and prepInputs(). Cache() allows for nested caching, is robust to environments and objects with environments (like functions), and has deals with some classes of file-backed R objects e.g., from terra and raster packages. Both functions have been developed to be foundational components of data retrieval and processing in continuous workflow situations. In both functions, efforts are made to make the first and subsequent calls of functions have the same result, but faster at subsequent times by way of checksums and digesting. Several features are still under development, including cloud storage of cached objects, allowing for sharing between users. Several advanced options are available, see ?reproducibleOptions().

Version: 2.1.0
Depends: R (≥ 4.1)
Imports: data.table (≥ 1.10.4), digest, filelock, fpCompare, fs, lobstr, methods, stats, utils
Suggests: archive, covr, crayon, DBI, future, geodata, glue, googledrive, httr, knitr, parallel, qs, raster (≥ 3.5-15), RCurl (≥ 1.95-4.8), rlang, rmarkdown, RSQLite, R.utils, sf, sp (≥ 1.4-2), terra (≥ 1.7-20), testthat, withr
Published: 2024-05-30
DOI: 10.32614/CRAN.package.reproducible
Author: Eliot J B McIntire ORCID iD [aut, cre], Alex M Chubaty ORCID iD [aut], Tati Micheletti ORCID iD [ctb], Ceres Barros ORCID iD [ctb], Ian Eddy ORCID iD [ctb], His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources Canada [cph]
Maintainer: Eliot J B McIntire <eliot.mcintire at>
License: GPL-3
NeedsCompilation: no
SystemRequirements: 'unrar' (Linux/macOS) or '7-Zip' (Windows) to work with '.rar' files.
Language: en-CA
Citation: reproducible citation info
Materials: README NEWS
In views: ReproducibleResearch
CRAN checks: reproducible results


Reference manual: reproducible.pdf
Vignettes: Introduction to Cache


Package source: reproducible_2.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): reproducible_2.1.0.tgz, r-oldrel (arm64): reproducible_2.1.0.tgz, r-release (x86_64): reproducible_2.1.0.tgz, r-oldrel (x86_64): reproducible_2.1.0.tgz
Old sources: reproducible archive

Reverse dependencies:

Reverse depends: SpaDES.core
Reverse imports: SpaDES,


Please use the canonical form to link to this page.