Last chance! 50% off unlimited learning
Sale ends in
Compare two paths after normalizing them with the same separator (/
).
same_path(p1, p2, ...)
Two vectors of paths.
Arguments to be passed to normalize_path()
.
library(xfun)
same_path("~/foo", file.path(Sys.getenv("HOME"), "foo"))
Run the code above in your browser using DataLab