Package: lrequire 0.1.3

Rick Wargo

lrequire: Sources an R "Module" with Caching & Encapsulation, Returning Exported Vars

In the fashion of 'node.js' <https://nodejs.org/>, requires a file, sourcing into the current environment only the variables explicitly specified in the module.exports or exports list variable. If the file was already sourced, the result of the earlier sourcing is returned to the caller.

Authors:Rick Wargo <[email protected]>

lrequire_0.1.3.tar.gz
lrequire_0.1.3.zip(r-4.5)lrequire_0.1.3.zip(r-4.4)lrequire_0.1.3.zip(r-4.3)
lrequire_0.1.3.tgz(r-4.5-any)lrequire_0.1.3.tgz(r-4.4-any)lrequire_0.1.3.tgz(r-4.3-any)
lrequire_0.1.3.tar.gz(r-4.5-noble)lrequire_0.1.3.tar.gz(r-4.4-noble)
lrequire_0.1.3.tgz(r-4.4-emscripten)lrequire_0.1.3.tgz(r-4.3-emscripten)
lrequire.pdf |lrequire.html
lrequire/json (API)
NEWS

# Install 'lrequire' in R:
install.packages('lrequire', repos = c('https://rickwargo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rickwargo/lrequire/issues

On CRAN:

3.48 score 3 stars 20 scripts 106 downloads 11 exports 0 dependencies

Last updated 9 years agofrom:4f8f37745a. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 05 2025
R-4.5-winOKFeb 05 2025
R-4.5-macOKFeb 05 2025
R-4.5-linuxOKFeb 05 2025
R-4.4-winOKFeb 05 2025
R-4.4-macOKFeb 05 2025
R-4.3-winOKFeb 05 2025
R-4.3-macOKFeb 05 2025

Exports:append.module.pathsfind.first.Rget.module.cacheget.module.pathshide.not.found.warningslrequireremove.from.module.cacheremove.module.pathsreset.module.cacheshow.module.cacheshow.not.found.warnings

Dependencies: