parent_env_chain: The parent environment chain of a given environment.

Description Usage Arguments Value Note

View source: R/parent_env_chain.R

Description

The parent environment chain of a given environment.

Usage

1

Arguments

envir

environment. By default, the parent.frame().

Value

a list of parent environments, with the first element being the immediate parent, and the last element being the empty environment.

Note

If a parent environment terminates with an environment who is its own parent, this will be the last element instead for the returned list.


robertzk/productivus documentation built on March 19, 2018, 12:21 p.m.