Debian Codegraph @

man/relative_to.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/relative_to.R
3 \name{relative_to}
4 \alias{relative_to}
5 \title{Relative path utility function}
6 \usage{
7 relative_to(dir, file)
8 }
9 \arguments{
10 \item{dir}{Directory}
11
12 \item{file}{File}
13 }
14 \value{
15 Relative path from the directory to the file (or the unmodified file
16 path if the file does not appear to be in the directory).
17 }
18 \description{
19 Given a directory and a file, return a relative path from the directory to
20 the file, or the unmodified file path if the file does not appear to be in
21 the directory.
22 }