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().

Getting started

Package details

AuthorTomasz Kalinowski [aut, cre]
MaintainerTomasz Kalinowski <kalinowskit@gmail.com>
LicenseGPL-3
Version0.3.0
URL https://t-kalinowski.github.io/envir/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("envir")

Try the envir package in your browser

Any scripts or data that you put into this service are public.

envir documentation built on June 22, 2024, 11:04 a.m.