Skip to contents

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.