env.new: Function to create new environments

Description Usage Arguments Details Examples

View source: R/env_utils.R

Description

Function to create new environments

env.new

Usage

1
2
3
env.new(env_name = NULL)

env.new(env_name = NULL)

Arguments

env_name

String, the name of the new environment.

Details

Works much like calling new.env() but allows passing a string argument to assign to the environment namespace. Useful within function calls where a new env can be used to mask operations and send outputs early to outside functions while the intended function completes its steps.

Examples

1
env.new('.hidden')

CarlBoneri/roxydoc2 documentation built on Nov. 6, 2019, 8:01 a.m.