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.5)envir_0.3.0.zip(r-4.4)envir_0.3.0.zip(r-4.3)
envir_0.3.0.tgz(r-4.4-any)envir_0.3.0.tgz(r-4.3-any)
envir_0.3.0.tar.gz(r-4.5-noble)envir_0.3.0.tar.gz(r-4.4-noble)
envir_0.3.0.tgz(r-4.4-emscripten)envir_0.3.0.tgz(r-4.3-emscripten)
envir.pdf |envir.html✨
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
Last updated 7 months agofrom:726015b3c8. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 15 2024 |
R-4.5-win | OK | Nov 15 2024 |
R-4.5-linux | OK | Nov 15 2024 |
R-4.4-win | OK | Nov 15 2024 |
R-4.4-mac | OK | Nov 15 2024 |
R-4.3-win | OK | Nov 15 2024 |
R-4.3-mac | OK | Nov 15 2024 |
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 |