empty_env: Get the empty environment

empty_envR Documentation

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 an environment chain such as the search path (see search_envs()).

Usage

empty_env()

Examples

# Create environments with nothing in scope:
child_env(empty_env())

rlang documentation built on June 22, 2024, 9:31 a.m.