environments: Working with Environments and Closures in R Installation R package environments is only available on GitHub and can be installed in R as: remotes::install_github("HenrikBengtsson/environments", ref = "develop") This installs the package from source.