destandardize_env_name: De-standardize the name of an environment

Description Usage Arguments Value

View source: R/functions.r

Description

This function inverts the process performed by standardize_env_name that is, it converts the standardized names "R_GlobalEnv", "R_EmptyEnv", and "base" back to names that are recognized by R as actual environments when using function as.environment, namely to ".GlobalEnv", ".EmptyEnv", and "package:base".

Usage

1

Arguments

env_name

environment name to de-standardize.

Value

The name of the environment, where the global environment is represented as ".GlobalEnv", the empty environment as ".EmptyEnv", and the base environment as "package:base".


envnames documentation built on Dec. 8, 2020, 9:07 a.m.