Replaces backward slashes with forward slashes and optionally normalizes the path.
sanitizePath(path, make.absolute = TRUE, normalize.absolute = FALSE)
[character
]
Vector of paths to sanitize.
[logical
]
If TRUE
convert to an absolute path.
[logical
]
Also call normalizePath
on absolute paths?
This will immediately resolve symlinks.
character
with sanitized paths.