sys_context: System Context

View source: R/context.R

sys_contextR Documentation

System Context

Description

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

Usage

sys_context()

Value

system context for evaluating fmt_metric objects.

Metrics

System Context

  • "sysname" : The operating system name.

  • "release" : The OS release.

  • "version" : The OS version.

  • "nodename" : A name by which the machine is known on the network (if any).

  • "machine" : A concise description of the hardware, often the CPU type.

  • "login" : The user's login name, or "unknown" if it cannot be ascertained.

  • "user" : The name of the real user ID, or "unknown" if it cannot be ascertained.

  • "r-ver" : R Version in (major).(minor) format.

See Also

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


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