get_caller | R Documentation |
get_caller()
Tries to determine the calling functions based on where
.
get_caller(where = -1L) get_user(fallback = "unknown user")
where |
|
fallback |
A fallback in case the user name could not be determined |
a character
scalar.
base::sys.call()
whoami::whoami()
foo <- function() get_caller(-1L) foo() get_user()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.