adamryczkowski/pathcat: Provides path.cat and make.path.relative functions, that enhance system.path() function that concatenates paths.

path.cat unwinds '..' into actually removing last folder from the path. make.path.relative finds the youngest common ancestor of both directories, and removes it from the path given in the second argument (target.path) All functions allow for mixing '/' with '\' on each path, treating both characters equally (so you can't have a filename with backslash even if you are on Linux)

Getting started

Package details

Maintainer
LicenseGPL-3
Version1.0.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("adamryczkowski/pathcat")
adamryczkowski/pathcat documentation built on May 10, 2019, 5:51 a.m.