Package: envir 0.3.0
envir: Manage R Environments Better
Provides a small set of functions for managing R environments, with defaults designed to encourage usage patterns that scale well to larger code bases. It provides: import_from(), a flexible way to assign bindings that defaults to the current environment; include(), a vectorized alternative to base::source() that also default to the current environment; and attach_eval() and attach_source(), a way to evaluate expressions in attached environments. Together, these (and other) functions pair to provide a robust alternative to base::library() and base::source().
Authors:
envir_0.3.0.tar.gz
envir_0.3.0.zip(r-4.7)envir_0.3.0.zip(r-4.6)envir_0.3.0.zip(r-4.5)
envir_0.3.0.tgz(r-4.6-any)envir_0.3.0.tgz(r-4.5-any)
envir_0.3.0.tar.gz(r-4.7-any)envir_0.3.0.tar.gz(r-4.6-any)
envir_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
envir/json (API)
NEWS
| # Install 'envir' in R: |
| install.packages('envir', repos = c('https://t-kalinowski.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/t-kalinowski/envir/issues
Pkgdown/docs site:https://t-kalinowski.github.io
Last updated from:726015b3c8. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 82 | ||
| source / vignettes | OK | 134 | ||
| linux-release-x86_64 | OK | 93 | ||
| macos-release-arm64 | OK | 95 | ||
| macos-oldrel-arm64 | OK | 68 | ||
| windows-devel | OK | 66 | ||
| windows-release | OK | 71 | ||
| windows-oldrel | OK | 53 | ||
| wasm-release | OK | 86 |
Exports:attach_evalattach_sourceimport_frominclude
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Evaluate R expressions in an attached environment. | attach_eval |
| Source R files into an attached environment | attach_source |
| import objects | import_from |
| Source R files | include |
| Modify default attach position for 'base::library()' | set_library_default_pos |
| 'within' methods for R environments | within.character within.environment |
