System Call Stack Utilities
sys.function_digest(n = NULL)sys.function_nframe(fun)
sys.function_frame(fun)
sys.source_file()
sys.function_digest
returns a character vector of length n
.
sys.function_nframe
returns a integer vector.
sys.function_frame
returns an environment.
a single frame
the function object to find in the call stack.
sys.function_digest()
: computes digest hash for each function in the call stack.
sys.function_nframe()
: returns the index of the frame that calls a given function.
sys.function_frame()
: returns the frame that calls a given function.
sys.source_file()
: returns path to the script that is being sourced either
by base::source or base::sys.source.