reproducible: A Set of Tools that Enhance Reproducibility of R Code

A collection of high-level, machine- and OS-independent tools for making deeply 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: 1.2.16
Depends: R (≥ 4.0)
Imports: data.table (≥ 1.10.4), DBI, digest, fpCompare, glue, lobstr, magrittr, methods, raster (≥ 3.5-15), RSQLite, rlang, sp (≥ 1.4-2), utils
Suggests: covr, crayon, fastdigest, fasterize, future, googledrive, httr, lwgeom, qs, knitr, parallel, RCurl (≥ 1.95-4.8), rgdal, rmarkdown, sf, stats, terra (≥ 1.5-17), testthat
Published: 2022-12-22
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
Materials: README NEWS
In views: ReproducibleResearch
CRAN checks: reproducible results


Reference manual: reproducible.pdf
Vignettes: Introduction to Cache


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


Please use the canonical form to link to this page.