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