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 Nov. 4, 2023, 9:06 a.m.