shFILE.RdLook through the command line arguments, extracting FILE from either of the following: -f FILE or --file=FILE
shFILE(original = FALSE, for.msg = FALSE, default, else.)TRUE, FALSE, or NA; should the original
or the normalized path be returned? NA means the normalized path
will be returned if it has already been forced, and the original path
otherwise.
TRUE or FALSE; do you want the path for the
purpose of printing a diagnostic message / / warning / / error?
for.msg = TRUE will ignore original = FALSE, and will use
original = NA instead.
if FILE is not found, this value is returned.
missing or a function to apply if FILE is found. See
tryCatch2() for
inspiration.
character string, or default if FILE was not found.
The original and the normalized path are saved; this makes them faster when called subsequent times.
On Windows, the normalized path will use / as the
file separator.