check_environment {envnames}R Documentation

Check whether a string corresponds to the name of an environment

Description

The input string is checked as a valid environment name. The environment can be a named environment (system or package) or a user environment.

Usage

check_environment(x, envir)

Arguments

x

string to evaluate that may represent an environment

envir

environment where x should be evaluated first. If it is not found there it still searched for in the whole workspace.

Value

A list with two elements:


[Package envnames version 0.4.0 Index]