relish: Tidy file paths by removing instances of 'dir' from 'x'.

Description Usage Arguments Value

View source: R/utils.R

Description

Ensures that we get a relative path for x. Pinched from rlang:::relish().

Usage

1
relish(x, dir = getwd())

Arguments

x

File path

dir

Directory to strip from x

Value

Character vector


lewinfox/lambdar documentation built on Dec. 21, 2021, 10:43 a.m.