Require: Installing and Loading R Packages for Reproducible Workflows

A single key function, 'Require' that makes rerun-tolerant versions of 'install.packages' and 'require' for CRAN packages, packages no longer on CRAN (i.e., archived), specific versions of packages, and GitHub packages. This approach is developed to create reproducible workflows that are flexible and fast enough to use while in development stages, while able to build snapshots once a stable package collection is found. As with other functions in a reproducible workflow, this package emphasizes functions that return the same result whether it is the first or subsequent times running the function, with subsequent times being sufficiently fast that they can be run every time without undue waiting burden on the user or developer.

Version: 1.0.1
Depends: R (≥ 4.0)
Imports: data.table (≥ 1.10.4), methods, sys, tools, utils
Suggests: covr, curl, diffobj, fpCompare, gitcreds, httr, pak, parallel, rematch2, rmarkdown, knitr, rlang, roxygen2, rprojroot, testthat (≥ 3.0.0), tibble, waldo, withr
Published: 2024-08-17
DOI: 10.32614/CRAN.package.Require
Author: Eliot J B McIntire ORCID iD [aut, cre], Alex M Chubaty ORCID iD [ctb], Her Majesty the Queen in Right of Canada, as represented by the Minister of Natural Resources Canada [cph]
Maintainer: Eliot J B McIntire <eliot.mcintire at canada.ca>
BugReports: https://github.com/PredictiveEcology/Require/issues
License: GPL-3
URL: https://Require.predictiveecology.org, https://github.com/PredictiveEcology/Require
NeedsCompilation: no
Language: en-CA
Materials: README NEWS
In views: ReproducibleResearch
CRAN checks: Require results

Documentation:

Reference manual: Require.pdf
Vignettes: The 'Require' approach, comparing 'pak' and 'renv' (source, R code)

Downloads:

Package source: Require_1.0.1.tar.gz
Windows binaries: r-devel: Require_1.0.1.zip, r-release: Require_1.0.1.zip, r-oldrel: Require_1.0.1.zip
macOS binaries: r-release (arm64): Require_1.0.1.tgz, r-oldrel (arm64): Require_1.0.1.tgz, r-release (x86_64): Require_1.0.1.tgz, r-oldrel (x86_64): Require_1.0.1.tgz
Old sources: Require archive

Reverse dependencies:

Reverse imports: SpaDES.core

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Require to link to this page.