exec_context: Execution Context

View source: R/context.R

exec_contextR Documentation

Execution Context

Description

Wrapper around Sys.info() and get_r_version that provides a consolidated list of variables used for logging contexts.

Usage

exec_context(
  keep_args = FALSE,
  max_calls = 5,
  call_subset = c(-1, -1),
  filter_internal = TRUE
)

Arguments

keep_args

bool to specify keep function all arguments

max_calls

maximum number of calls to keep from the stack

call_subset

offset index into system calls

filter_internal

filter out internal calls?

Value

system context for evaluating fmt_metric objects.

See Also

Other Context: class_scope(), format_fn_call(), get_call_stack(), get_r_version(), get_system_info(), sys_context()


dyn.log documentation built on March 18, 2022, 7:07 p.m.