Create An New 'matools' Environment To Store Analysis Parameters
Source:R/env_utils.R
set_pkg_environment.Rd
Provides a location to store package objects and variables,
allowing for easy removal of data analysis parameters within an analysis
pipeline. Note: sets parent environment to env: empty
to avoid scope
escape.
Arguments
- force_new
Boolean, when TRUE a new matools_env will be created, overwriting all existing parameters. Default is FALSE.
Value
A new environment()
, matools_env
, in the .GlobalEnv
namespace.