try.this.path.Rdtry.this.path() attempts to return this.path(),
returning this.path(original = TRUE) if that fails, returning
NA_character_ if that fails as well.
try.this.path(contents = FALSE, local = FALSE, n = 0,
envir = parent.frame(n + 1),
matchThisEnv = getOption("topLevelEnvironment"),
srcfile = if (n) sys.parent(n) else 0)
try.shFILE()See
?this.path().
This should NOT be used to construct file paths against the script's directory. This should exclusively be used for diagnostic messages / / warnings / / errors / / logging. The returned path may not exist, may be relative instead of absolute, or may be undefined.
character string.
try.shFILE()
#> [1] NA
try.this.path()
#> [1] NA
try.this.path(contents = TRUE)
#> NULL