env_caller

0th

Percentile

Get the environment of the caller frame.

This is a shortcut for call_frame(2)$env.

Usage
env_caller(n = 1)
Arguments
n
The number of generation to go back. Note that contrarily to call_frame(), 1 represents the parent frame rather than the current frame.
See Also

call_frame()

Aliases
  • env_caller
Documentation reproduced from package rlang, version 0.0.0.9000, License: GPL-3

Community examples

Looks like there are no examples yet.