caller_env: Get the environment of the caller frame.
Description
This is a shortcut for call_frame(2)$env
.
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.