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

system_infos

Information About the System


Description

get_caller() Tries to determine the calling functions based on where.

Usage

get_caller(where = -1L)

get_user(fallback = "unknown user")

Arguments

where

integer scalar (usually negative). Look up that many frames up the call stack

fallback

A fallback in case the user name could not be determined

Value

a character scalar.

See Also

Examples

foo <- function() get_caller(-1L)
foo()
get_user()

lgr

A Fully Featured Logging Framework

v0.4.2
MIT + file LICENSE
Authors
Stefan Fleck [aut, cre] (<https://orcid.org/0000-0003-3344-9851>)
Initial release

We don't support your browser anymore

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