path()
constructs a relative path, path_wd()
constructs an absolute path
from the current working directory.
path(..., ext = "")
path_wd(..., ext = "")
path_home()
, path_package()
for functions to construct paths
relative to the home and package directories respectively.
path("foo", "bar", "baz", ext = "zip")
#> foo/bar/baz.zip
path("foo", letters[1:3], ext = "txt")
#> foo/a.txt foo/b.txt foo/c.txt