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:
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
Last updated from:7578c5b6ef. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 164 | ||
| source / vignettes | OK | 257 | ||
| linux-release-x86_64 | OK | 140 | ||
| macos-release-arm64 | OK | 112 | ||
| macos-oldrel-arm64 | OK | 119 | ||
| windows-devel | OK | 80 | ||
| windows-release | OK | 74 | ||
| windows-oldrel | OK | 80 | ||
| wasm-release | OK | 140 |
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 page | Topics |
|---|---|
| Define Augmented and Parameterized Modules | amodule |
| Coercion for Modules | as.module as.module.character as.module.module |
| Declare dependencies of modules | depend depend.default |
| Export mechanism for modules | export |
| Expose module contents | expose |
| Extend existing module definitions | extend |
| Get the search path of an environment | getSearchPath getSearchPathContent getSearchPathDuplicates getSearchPathNames |
| Import mechanism for modules | import importDefaultPackages |
| Define Modules in R | autoTopEncl module |
| Use a module as dependency | use |
