Is basically a wrapper for get(name, envir=env), but does not forces promises.

getVarInEnv(name, env)

Arguments

name

The name of the variable

env

The environment in which to evaluate

Value

Returns the value of the variable or a representation of a promise as returned by getPromiseVar