file_path_relative_to: Transform an absolute path to relative path in relation to...

Description Usage Arguments Value Note Author(s)

View source: R/utilities.R

Description

Transform an absolute path to relative path in relation to given location

Usage

1
file_path_relative_to(path, org_relative_to, new_relative_to)

Arguments

path

Character string path.

org_relative_to

Character string path to which path is originally relative to.

new_relative_to

Character string path to which path is supposed to be relative to.

Value

Character string relative file path.

Note

Both path and relative_to must be in absolute form.

Author(s)

Joona Lehtomaki joona.lehtomaki@gmail.com


zonator documentation built on July 8, 2020, 6:18 p.m.