vdiffr: Visual Regression Testing and Graphical Diffing

An extension to the 'testthat' package that makes it easy to add graphical unit tests. It provides a Shiny application to manage the test cases.

Package details

AuthorLionel Henry [aut], Thomas Lin Pedersen [cre, aut] (ORCID: <https://orcid.org/0000-0002-5147-4711>), Posit Software, PBC [cph, fnd], T Jake Luciani [aut] (svglite), Matthieu Decorde [aut] (svglite), Vaudor Lise [aut] (svglite), Tony Plate [ctb] (svglite: Early line dashing code), David Gohel [ctb] (svglite: Line dashing code and raster code), Yixuan Qiu [ctb] (svglite: Improved styles; polypath implementation), Håkon Malmedal [ctb] (svglite: Opacity code)
MaintainerThomas Lin Pedersen <thomas.pedersen@posit.co>
LicenseMIT + file LICENSE
Version1.0.9
URL https://vdiffr.r-lib.org/ https://github.com/r-lib/vdiffr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("vdiffr")

Try the vdiffr package in your browser

Any scripts or data that you put into this service are public.

vdiffr documentation built on Feb. 26, 2026, 1:07 a.m.