tools::Rdiff and rely on an existing system diff utility.
You should be using ses or diffChr instead of
Rdiff_chr and diffPrint instead of Rdiff_obj.
See limitations in note.
Rdiff_chr(from, to, silent = FALSE, minimal = FALSE, nullPointers = TRUE)
Rdiff_obj(from, to, silent = FALSE, minimal = FALSE, nullPointers = TRUE)Rdiff_chr,
any R object with Rdiff_obj, or a file pointing to an RDS objectfromtools::Rdiffsilent is FALSE
Rdiff_chr runs diffs on character vectors or objects coerced to
character vectors, where each value in the vectors is treated as a line in a
file. Rdiff_chr always runs with the useDiff and Log
parameters set to TRUE.Rdiff_obj runs diffs on the printed representation of
the provided objects. For each of from, to, will check if they
are 1 length character vectors referencing an RDS file, and will use the
contents of that RDS file as the object to compare.
ses, diff*