Description Usage Arguments Details
Relativizes a path path
versus a directory dir
. Both
path
and dir
are normalized. If dir
and path
identify the same object, ""
is returned. Otherwise, if the returned
path is appended to dir
via file.path
, the resulting
path should identify path
.
1 | path.relativize(path, dir = getwd(), sep = .Platform$file.sep)
|
path |
the path to be normalized |
dir |
the reference directory to normalize against |
sep |
path separator |
Inspired by the function of the same name in the nonmemica
package,
see https://github.com/cran/nonmemica/blob/master/R/path.R.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.