whereami {whereami}R Documentation

Return where the script is run from

Description

Returns the file that a command is run from.

If traceback is available then the line that it was run from is also returned.

Usage

whereami(path_expand = FALSE, tag = NULL)

Arguments

path_expand

logical, expand relational path, Default: FALSE

tag

character, optional tag for the call, Default: NULL

Value

character

Author(s)

Jonathan Sidi

Examples

 whereami()
 whereami(path_expand = TRUE)

[Package whereami version 0.2.0 Index]