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/rdiff.R
\name{has_Rdiff}
\alias{has_Rdiff}
\title{Attempt to Detect Whether diff Utility is Available}
\usage{
has_Rdiff(test.with = tools::Rdiff)
}
\arguments{
\item{test.with}{function to test for diff presence with, typically Rdiff}
}
\value{
TRUE or FALSE
}
\description{
Checks whether \code{\link[=Rdiff]{tools::Rdiff}} issues a warning when
running with \code{useDiff=TRUE} and if it does assumes this is because the
diff utility is not available. Intended primarily for testing purposes.
}
\examples{
has_Rdiff()
}
|