lrequire: 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.

Install the latest version of this package by entering the following in R:
AuthorRick Wargo <>
Date of publication2016-02-22 08:04:15
MaintainerRick Wargo <>
LicenseMIT + file LICENSE

View on CRAN

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.