Compute relative path

rel_path(path, base = ".")

Arguments

path

Relative path

base

Base path

Examples

rel_path("a/b", base = "here")
#> Error in rel_path("a/b", base = "here"): could not find function "rel_path"
rel_path("/a/b", base = "here")
#> Error in rel_path("/a/b", base = "here"): could not find function "rel_path"