pathr
pathr copied to clipboard
Port of Python's os.path
See this issue https://github.com/RConsortium/wishlist/issues/2
In the last few commits there is some compiled code to access things on linux/macOS where R's file manipulation commands don't quite cover what is needed (currently: detecting if files...
Revival
I need some of these over and over again, so let's finish this package. Or least I'll add the things I need. FYI.
- case sensitivity - case preservation - path separator others?
In that in Python `basename("/foo/bar/")` is `""`, and in Unix it is `bar`.
Most functions should take vectors of paths, and most of these should allow for fairly consistent NA treatment. For now I'm leaving comments in the source and will see what...
Copied directly from `dir(os.path)` - not all will be used and some will get renamed to match R's conventions. - [ ] `abspath` - [ ] `altsep` - [ ]...