| Title: | R Source Code Modularizer |
|---|---|
| Description: | Modularizes source code. Keeps the global environment clean, explicifies interdependencies. Inspired by 'RequireJS'<http://requirejs.org/>. |
| Authors: | Peter van den Berg [aut, cre] |
| Maintainer: | Peter van den Berg <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 1.0.0.1 |
| Built: | 2026-06-04 08:28:04 UTC |
| Source: | https://github.com/petervdberg/requirer |
Loads given files and modularizes the given function
requireR(...)requireR(...)
... |
A set of filenames, and/or ending with the modularizable function. |
## Not run: #hello.R requireR(function() { "hello" }) #world.R requireR(function() { "world" }) requireR( "hello.R", "world.R", function(hello, world) { paste(hello, world) }) ## End(Not run)## Not run: #hello.R requireR(function() { "hello" }) #world.R requireR(function() { "world" }) requireR( "hello.R", "world.R", function(hello, world) { paste(hello, world) }) ## End(Not run)