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
DESCRIPTION |NEWS
card.svg |card.png
modules/json (API)

# 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.82 score 84 stars 6 packages 327 scripts 8.9k downloads 15 exports 0 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK135
source / vignettesOK181
linux-release-x86_64OK132
macos-release-arm64OK118
macos-oldrel-arm64OK101
windows-develOK111
windows-releaseOK92
windows-oldrelOK72
wasm-releaseOK106

Exports:amoduleas.moduleautoTopEncldependexportexposeextendgetSearchPathgetSearchPathContentgetSearchPathDuplicatesgetSearchPathNamesimportimportDefaultPackagesmoduleuse

Dependencies:

Modules in R
Installation | Introduction | Scoping of modules | Imports | Importing modules | Exports | Example: Modules as Parallel Process | Related Projects

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

Modules: Organizing R Source Code
Introduction | Example | Pseudo-code example | Documentation | Best practices

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

Modules as R Objects
Introduction | Modules as first class citizen in R | Nested Modules | Modules as objects | Dependency injection | Modules to model mutable state | Module composition | Unit tests for modules | Modules in Packages

Last update: 2018-11-24
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