Closed HenrikBengtsson closed 2 years ago
We now have:
> filePath("/..") [1] "/.."
but this should really return "/" per, e.g. [1]. This also how:
"/"
> normalizePath("/..") [1] "/" > normalizePath("/../..") [1] "/" > normalizePath("/../../..") [1] "/"
works.
Won't fix. filePath() should be as similar as base::file.path() as possible. One can use normalizePath() to remove the remain parts here.
filePath()
base::file.path()
normalizePath()
We now have:
but this should really return
"/"
per, e.g. [1]. This also how:works.
References