Skip to contents

A utility function that wraps env_parents. However, it always includes the current environment and will handle function environments.

Usage

env_stack(e, last = getOption("pkgette.env_stack_last"))

Arguments

e

the environment; or function

last

passed to the underlying call to env_parents

Value

a list of environments