Skip to contents

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.