Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sys_call_stack

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.

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

Development Utilities for R Packages

v0.32.2
GPL (>= 2)
Authors
Renaud Gaujoux [aut, cre]
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.