Rdocumentation
powered by
Learn R Programming
box (version 1.2.3)
Write Reusable, Composable and Modular R Code
Description
A modern module system for R. Organise code into hierarchical, composable, reusable modules, and use it effortlessly across projects via a flexible, declarative dependency loading syntax.
Copy Link
Link to current version
Version
Version
1.2.3
1.2.2
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
Install
install.packages('box')
Monthly Downloads
7,319
Version
1.2.3
License
MIT + file LICENSE
Issues
66
Pull Requests
5
Stars
975
Forks
49
Repository
https://github.com/klmr/box
Homepage
https://klmr.me/box/
Maintainer
Konrad Rudolph
Last Published
August 20th, 2026
Functions in box (1.2.3)
Search all functions
script_path
Set the base path of the script
parse_export_tags
Extract comment tags from Roxygen block comments
s3
Internal S3 infrastructure helpers
parse_export_specs
Find exported names in parsed module source
path
Get a module’s path
register_S3_method
Register S3 methods
topenv
Get a module’s namespace environment
unload
Unload or reload modules
use
Import a module or package
throw
Throw informative error messages
wrap_unsafe_function
Wrap “unsafe calls” functions
spec
Parse a mod or pkg spec expression passed to
use
paths
Path related functions
find_in_path
Find a module’s source location
file
Find the full paths of files in modules
export
Explicitly declare module exports
namespace
Module namespace handling
default
Retrieve a value or a default
fmt
String formatting helpers
info
Information about a physical module or package
create_export_block
Collect export tag information
add_comments
Extend code regions to include leading comments and whitespace
box
An alternative module system for R
loaded
Environment of loaded modules
help-internal
Helper functions for the help functionality
has_export_tag
Find
@export
tags in code regions
map
Apply function to elements in list
parse_documentation
Parse a module’s documentation
lsf
Return a list of function names in an environment
mod-hooks
Hooks for module events
name
Get a module’s name
help
Display module documentation
importing
Import a module or package