Learn R Programming

gdiff (version 0.2-5)

diffFiles: Names of Files Showing Differences

Description

List all files that show differences between control and test output (as red pixels).

Usage

diffFiles(x)

Value

A character vector of file names (with paths).

Arguments

x

A "gdiffComparison" object, as created by gdiff or gdiffCompare.

Author

Paul Murrell

See Also

gdiff and gdiffCompare.

Examples

Run this code
f1 <- function() plot(1)
f2 <- function() plot(2)
# \donttest{
result <- gdiff(list(control=f1, test=f2), name="f",
                controlDir=file.path(tempdir(), "Control"),
                testDir=file.path(tempdir(), "Test"),
                compareDir=file.path(tempdir(), "Compare"))
result
diffFiles(result)
# }

Run the code above in your browser using DataLab