whereami: Return where the script is run from

Description Usage Arguments Value Author(s) Examples

View source: R/whereami.R

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

1
whereami(path_expand = FALSE)

Arguments

path_expand

logical, expand relational path, Default: FALSE

Value

character

Author(s)

Jonathan Sidi

Examples

1
2
 whereami()
 whereami(path_expand = TRUE)

whereami documentation built on May 6, 2019, 1:07 a.m.