diffFiles | R Documentation |
List all files that show differences between control and test output (as red pixels).
diffFiles(x)
x |
A |
A character vector of file names (with paths).
Paul Murrell
gdiff
and
gdiffCompare
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.