vdiffr
Visual Regression Testing and Graphical Diffing
Description
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.
Downloads
114K
Last 30 days
322nd
277K
Last 90 days
931.3K
Last year
Trend: +29.9% (30d vs prior 30d)
260
Last 30 days
1.4K
Last 90 days
3.5K
Last year
Trend: -67.2% (30d vs prior 30d)
8
Last 7 days
17
Last 30 days
1
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
334
Last 30 days
1.2K
Last 90 days
8.6K
Last year
Trend: -43.1% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
9,983
Files
91
Compiled share
88.3%
Has compiled src
Yes
Language breakdown
API
Exported functions
2
Internal functions
53
Testing & CI
Has tests
Yes
Test-to-code ratio
3.15
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
0%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
50%
Unsafe pattern score
0
Dep constraint coverage
25%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.0
System requirements
1
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
20
First release
2016-11-08
Latest release
2026-02-13
Avg cadence
173 days
Cold removal rate
100%
Dep drift
18
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.