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

In the fashion of 'node.js' <>, 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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.3 by Rick Wargo, 6 years ago

Report a bug at

Browse source code at

Authors: Rick Wargo <[email protected]>

Documentation:   PDF Manual  

MIT + file LICENSE license

Suggests testthat

See at CRAN