diffFiles {gdiff}R Documentation

Names of Files Showing Differences

Description

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

Usage

diffFiles(x)

Arguments

x

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

Value

A character vector of file names (with paths).

Author(s)

Paul Murrell

See Also

gdiff and gdiffCompare.

Examples

f1 <- function() plot(1)
f2 <- function() plot(2)

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)


[Package gdiff version 0.2-5 Index]