split_path(path)
is a platform independent and file system logic
aware alternative to strsplit(path, '/')[[1]]
.
merge_path(split_path(path))
is equivalent to path
.
split_path(path)merge_path(components)
the path to split
character string vector of path components to merge
split_path
returns a character vector of path components that
logically represent path
.
merge_path
returns a single character string that is
logically equivalent to the path
passed to split_path
.
logically represent path
.