path_dirname: Directory name of a path

Description Usage Arguments Value See Also Examples

View source: R/simple.R

Description

Return the directory name of pathname path. The result is the same as for dirname, and this function is only included here for completeness.

Usage

1

Arguments

path

Character vector of paths.

Value

Character vector of directory names.

See Also

path_basename

Examples

1
path_dirname(c("/foo/bar", "/foo/bar/", ".", "foo/bar.c", "~"))

richfitz/pathr documentation built on May 27, 2019, 8:22 a.m.