git: 258d77b1848d - main - devel/R-cran-vdiffr: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Oct 2026 08:08:08 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=258d77b1848dcecbc95df5482e5a68d9850c8961
commit 258d77b1848dcecbc95df5482e5a68d9850c8961
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2026-10-11 08:06:43 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2026-10-11 08:07:47 +0000
devel/R-cran-vdiffr: New port
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.
---
devel/Makefile | 1 +
devel/R-cran-vdiffr/Makefile | 32 ++++++++++++++++++++++++++++++++
devel/R-cran-vdiffr/distinfo | 3 +++
devel/R-cran-vdiffr/pkg-descr | 2 ++
4 files changed, 38 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 7acd7f731a16..09de9e1361f8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -164,6 +164,7 @@
SUBDIR += R-cran-uuid
SUBDIR += R-cran-vcd
SUBDIR += R-cran-vctrs
+ SUBDIR += R-cran-vdiffr
SUBDIR += R-cran-waldo
SUBDIR += R-cran-webfakes
SUBDIR += R-cran-whisker
diff --git a/devel/R-cran-vdiffr/Makefile b/devel/R-cran-vdiffr/Makefile
new file mode 100644
index 000000000000..0eb62a765b45
--- /dev/null
+++ b/devel/R-cran-vdiffr/Makefile
@@ -0,0 +1,32 @@
+PORTNAME= vdiffr
+DISTVERSION= 1.0.9
+CATEGORIES= devel
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= uzsolt@FreeBSD.org
+COMMENT= Visual Regression Testing and Graphical Diffing
+WWW= https://cran.r-project.org/package=vdiffr
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+CRAN_DEPENDS= R-cran-cpp11>0:devel/R-cran-cpp11 \
+ R-cran-diffobj>0:devel/R-cran-diffobj \
+ R-cran-glue>0:devel/R-cran-glue \
+ R-cran-htmltools>0:textproc/R-cran-htmltools \
+ R-cran-lifecycle>0:devel/R-cran-lifecycle \
+ R-cran-rlang>0:devel/R-cran-rlang \
+ R-cran-testthat>=3.0.3:devel/R-cran-testthat \
+ R-cran-xml2>=1.0.0:textproc/R-cran-xml2
+BUILD_DEPENDS= ${CRAN_DEPENDS}
+LIB_DEPENDS= libpng16.so:graphics/png
+RUN_DEPENDS= ${CRAN_DEPENDS}
+TEST_DEPENDS= R-cran-covr>0:devel/R-cran-covr \
+ R-cran-decor>0:devel/R-cran-decor \
+ R-cran-ggplot2>=3.2.0:graphics/R-cran-ggplot2 \
+ R-cran-roxygen2>0:devel/R-cran-roxygen2 \
+ R-cran-withr>0:devel/R-cran-withr
+
+USES= cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-vdiffr/distinfo b/devel/R-cran-vdiffr/distinfo
new file mode 100644
index 000000000000..54cc30e5050d
--- /dev/null
+++ b/devel/R-cran-vdiffr/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1791655551
+SHA256 (vdiffr_1.0.9.tar.gz) = 8c4d013fc8ce0a207720290b6cdecbadea56a41f150eb7e5759cda49cb467118
+SIZE (vdiffr_1.0.9.tar.gz) = 102429
diff --git a/devel/R-cran-vdiffr/pkg-descr b/devel/R-cran-vdiffr/pkg-descr
new file mode 100644
index 000000000000..53d1d5d9c7d8
--- /dev/null
+++ b/devel/R-cran-vdiffr/pkg-descr
@@ -0,0 +1,2 @@
+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.