Package: modules 0.13.0

modules: Self Contained Units of Source Code

Provides modules as an organizational unit for source code. Modules enforce to be more rigorous when defining dependencies and have a local search path. They can be used as a sub unit within packages or in scripts.

Authors:Sebastian Warnholz [aut, cre]

modules_0.13.0.tar.gz
modules_0.13.0.zip(r-4.7)modules_0.13.0.zip(r-4.6)modules_0.13.0.zip(r-4.5)
modules_0.13.0.tgz(r-4.6-any)modules_0.13.0.tgz(r-4.5-any)
modules_0.13.0.tar.gz(r-4.7-any)modules_0.13.0.tar.gz(r-4.6-any)
modules_0.13.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
modules/json (API)
NEWS

# Install 'modules' in R:
install.packages('modules', repos = c('https://wahani.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/wahani/modules/issues

On CRAN:

Conda:

functional-programmingmodule

9.59 score 84 stars 6 packages 259 scripts 6.6k downloads 15 exports 0 dependencies

Last updated from:7578c5b6ef. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK164
source / vignettesOK257
linux-release-x86_64OK140
macos-release-arm64OK112
macos-oldrel-arm64OK119
windows-develOK80
windows-releaseOK74
windows-oldrelOK80
wasm-releaseOK140

Exports:amoduleas.moduleautoTopEncldependexportexposeextendgetSearchPathgetSearchPathContentgetSearchPathDuplicatesgetSearchPathNamesimportimportDefaultPackagesmoduleuse

Dependencies:

Modules as R Objects

Rendered frommodulesAsObjects.Rmdusingknitr::rmarkdownon May 12 2026.

Last update: 2018-11-24
Started: 2018-11-11

Modules in R

Rendered frommodulesInR.Rmdusingknitr::rmarkdownon May 12 2026.

Last update: 2022-04-21
Started: 2015-11-12

Modules: Organizing R Source Code

Rendered frommodulesAsFiles.Rmdusingknitr::rmarkdownon May 12 2026.

Last update: 2018-11-26
Started: 2018-11-11

Readme and manuals

Help Manual

Help pageTopics
Define Augmented and Parameterized Modulesamodule
Coercion for Modulesas.module as.module.character as.module.module
Declare dependencies of modulesdepend depend.default
Export mechanism for modulesexport
Expose module contentsexpose
Extend existing module definitionsextend
Get the search path of an environmentgetSearchPath getSearchPathContent getSearchPathDuplicates getSearchPathNames
Import mechanism for modulesimport importDefaultPackages
Define Modules in RautoTopEncl module
Use a module as dependencyuse