Attempt to normalize a relative path to an absolute one. Optionally without resolving symlinks on non-Windows systems
normalizePath2(path, follow.symlinks = FALSE, winslash = "\\", mustWork = NA)
The normalized path.
The path to normalize
Should symlinks (other than . and ..) be resolved to their physical locations? (FALSE)
The value of winslash to be passed down to normalizePath on windows systems
logical. Passed to normalizePath on windows. Ignored otherwise.