Currently supports:
image diffs for
.svg
and.png
tabular diffs for
.csv
text diffs for everything else
See also
visual_diff_output()
for use within Shiny apps
Examples
path1 <- tempfile()
path2 <- tempfile()
writeLines(letters, path1)
writeLines(letters[-13], path2)
if (interactive()) {
visual_diff(path1, path2)
}