R/realpath.R
realpath.Rd
Express file paths in canonical form
realpath(path)
character. File paths, which must exist on disk.
character
character. Absolute (real) file path.
Use normalizePath() instead for non-existing file paths.
normalizePath()
Updated 2022-05-31.
Standard path modifiers:
normalizePath().
file.path().
file.path()
Checking for existence, access:
file.access().
file.access()
file.exists().
file.exists()
goalie::hasAccess().
goalie::hasAccess()
goalie::allHaveAccess().
goalie::allHaveAccess()
realpath(".") #> [1] "/Users/mike/git/monorepo/r-packages/AcidBase/docs/reference"