relativizePath: Relativize a Path
Description
Relativizes a path.
Usage
relativizePath(x, dir = getwd(), sep = "/", ...)
Details
x and dir are first normalized, then x is expressed relative to dir.
If x and dir are on different drives (i.e. C:/ D:/) x is returned
as an absolute path.