sys_call_stack: System Call Stack Utilities

sys_call_stackR Documentation

System Call Stack Utilities

Description

System Call Stack Utilities

Usage

sys.function_digest(n = NULL)

sys.function_nframe(fun)

sys.function_frame(fun)

sys.source_file()

Arguments

n

a single frame

fun

the function object to find in the call stack.

Value

  • sys.function_digest returns a character vector of length n.

  • sys.function_nframe returns a integer vector.

  • sys.function_frame returns an environment.

Functions

  • 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.


pkgmaker documentation built on May 3, 2023, 5:08 p.m.