box
Write reusable, composable and modular R code
...The idea is to let users structure code in a more modular, composable way, without needing every reusable component to be a full CRAN-style package. It also provides a cleaner syntax for importing functions or modules (via box::use) that allows scoping control and avoids global pollution. Such modules can be stored in a central module search path (configured via options('box.path')) analogous to the R package library, or locally in individual projects. Let’s assume the module we just defined is stored in a file hello_world.r inside a directory mod, which is inside the module search path.