envir

envir is a small R package with a handful of functions designed for managing R environments.

The main exported functions are:

See ?import_from for extended usage examples.

Installation

You can install the released version of envir from CRAN with:

install.packages("envir")

Or install the development version with:

if (!requireNamespace("remotes", quietly = TRUE)) 
  install.packages("remotes")
# remotes::install_github("t-kalinowski/envir")
install.packages("envir", repos = c('https://t-kalinowski.r-universe.dev', 'https://cloud.r-project.org'))

Related work

R has excellent support for managing environments already, but some of the defaults encourage usage patterns that don't scale well to larger code bases.

Other solutions developed for managing R environments: