NewDiff4SynDataSets: Diff two directories or files.

View source: R/Diff4SynDataSets.R

NewDiff4SynDataSetsR Documentation

Diff two directories or files.

Description

Diff two directories or files.

Usage

NewDiff4SynDataSets(
  newdir,
  regressdirname,
  unlink,
  verbose = FALSE,
  long.diff = FALSE
)

Arguments

newdir

the path of dir2 for a folder to be recursively compared with dir1; it can also be the path of a single file file2 to diff with file1.

regressdirname

the path of dir2 for a folder to be recursively compared with dir1; it can also be the path of a single file file2 to diff with file1.

unlink

if TRUE unlink newdir, but do not unlink if there are diffs.

verbose

Whether to display additional R messages.

long.diff

If TRUE, invoke diff -r (detailed text information even if the two files/folders are the same); if FALSE, invoke diff -rq (detailed text information only if two files/folders are different). (Default: FALSE)

Value

The output of the diff command.


steverozen/SynSigGen documentation built on April 1, 2022, 8:54 p.m.