The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

odiffr: Fast Pixel-by-Pixel Image Comparison Using 'odiff'

R bindings to 'odiff', a fast SIMD pixel-by-pixel image comparison tool <https://github.com/dmtrKovalenko/odiff>. Compares PNG, JPEG, WEBP, TIFF and BMP images, plots and PDF pages with configurable thresholds, antialiasing detection and ignore regions. Provides 'testthat' expectations and snapshot testing (including for 'shinytest2' screenshots), batch and directory comparison, HTML, Markdown and JUnit reports, baseline approval and audit records. Requires the 'odiff' binary, which can be downloaded with install_odiff().

Version: 0.6.0
Depends: R (≥ 4.1.0)
Imports: graphics, grDevices, grid, tools
Suggests: base64enc, digest, ggplot2, jsonlite, knitr, lattice, magick, openssl, pdftools, png, ragg, rmarkdown, testthat (≥ 3.1.7), tibble, withr, xml2
Published: 2026-10-05
DOI: 10.32614/CRAN.package.odiffr
Author: Ben Wolstenholme [aut, cre]
Maintainer: Ben Wolstenholme <odiffr at benwolst.dev>
BugReports: https://github.com/BenWolst/odiffr/issues
License: MIT + file LICENSE
Copyright: see file COPYRIGHTS
URL: https://benwolst.github.io/odiffr/, https://github.com/BenWolst/odiffr
NeedsCompilation: no
SystemRequirements: odiff (>= 4.1.1) - https://github.com/dmtrKovalenko/odiff
Language: en-GB
Materials: README, NEWS
CRAN checks: odiffr results

Documentation:

Reference manual: odiffr.html , odiffr.pdf
Vignettes: Getting Started with Odiffr (source, R code)
Comparing PDF outputs (source, R code)
Using odiffr with shinytest2 (source, R code)
Comparing web pages and htmlwidgets (source, R code)

Downloads:

Package source: odiffr_0.6.0.tar.gz
Windows binaries: r-devel: odiffr_0.6.0.zip, r-release: odiffr_0.6.0.zip, r-oldrel: odiffr_0.6.0.zip
macOS binaries: r-release (arm64): odiffr_0.6.0.tgz, r-oldrel (arm64): odiffr_0.6.0.tgz, r-release (x86_64): odiffr_0.6.0.tgz, r-oldrel (x86_64): odiffr_0.6.0.tgz
Old sources: odiffr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=odiffr to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.