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().

Package details

AuthorEliot J B McIntire [aut, cre] (<>), Alex M Chubaty [aut] (<>), Tati Micheletti [ctb] (<>), Ceres Barros [ctb] (<>), Ian Eddy [ctb] (<>), His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources Canada [cph]
MaintainerEliot J B McIntire <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the reproducible package in your browser

Any scripts or data that you put into this service are public.

reproducible documentation built on June 22, 2024, 10:18 a.m.