Lightweight, convenience wrapper around base::Sys.which() and base::normalizePath().
Arguments
- x
Passed to
Sys.which()namesargument.- winslash
the separator to be used on Windows – ignored elsewhere. Must be one of
c("/", "\\").- ...
Arguments passed on to
base::normalizePathpathcharacter vector of file paths.
mustWorklogical: if
TRUEthen an error is given if the result cannot be determined; ifNAthen a warning.