rlang (version 0.0.0.9000)

empty_env: Get the empty environment.

Description

The empty environment is the only one that does not have a parent. It is always used as the tail of a scope chain such as the search path (see scoped_names()).

Usage

empty_env()

Arguments

Examples

Run this code
# Create environments with nothing in scope (the default):
new_env(parent = empty_env())

Run the code above in your browser using DataLab