File: has_Rdiff.Rd

package info (click to toggle)
r-cran-diffobj 0.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,432 kB
  • sloc: ansic: 455; javascript: 96; sh: 32; makefile: 8
file content (22 lines) | stat: -rwxr-xr-x 602 bytes parent folder | download | duplicates (2)
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()
}