From 2b7f699faffdca86372f0d8a4a627e4cbc67ecc9 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Tue, 24 Feb 2026 00:26:32 -0500 Subject: [PATCH] Include snapshot files in built package to satisfy testthat >= 3.3.0 --- .Rbuildignore | 1 - .../hgraph/alpha-allocation-hypotheses-names-transitions.svg | 1 + tests/testthat/_snaps/hgraph/alpha-digits.svg | 1 + tests/testthat/_snaps/hgraph/basic-layout.svg | 1 + tests/testthat/_snaps/hgraph/clockwise-order.svg | 1 + tests/testthat/_snaps/hgraph/custom-ellipses-multiline.svg | 1 + tests/testthat/_snaps/hgraph/gray-shades.svg | 1 + tests/testthat/_snaps/hgraph/hue-palette.svg | 1 + 8 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.Rbuildignore b/.Rbuildignore index 9d959df..7343392 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -8,4 +8,3 @@ ^\.github$ ^cran-comments\.md$ ^docs$ -tests/testthat/_snaps$ diff --git a/tests/testthat/_snaps/hgraph/alpha-allocation-hypotheses-names-transitions.svg b/tests/testthat/_snaps/hgraph/alpha-allocation-hypotheses-names-transitions.svg index 87aa68d..02b4329 100644 --- a/tests/testthat/_snaps/hgraph/alpha-allocation-hypotheses-names-transitions.svg +++ b/tests/testthat/_snaps/hgraph/alpha-allocation-hypotheses-names-transitions.svg @@ -18,6 +18,7 @@ + diff --git a/tests/testthat/_snaps/hgraph/alpha-digits.svg b/tests/testthat/_snaps/hgraph/alpha-digits.svg index e7e4b76..04642a9 100644 --- a/tests/testthat/_snaps/hgraph/alpha-digits.svg +++ b/tests/testthat/_snaps/hgraph/alpha-digits.svg @@ -18,6 +18,7 @@ + diff --git a/tests/testthat/_snaps/hgraph/basic-layout.svg b/tests/testthat/_snaps/hgraph/basic-layout.svg index a5111cc..1a25783 100644 --- a/tests/testthat/_snaps/hgraph/basic-layout.svg +++ b/tests/testthat/_snaps/hgraph/basic-layout.svg @@ -18,6 +18,7 @@ + diff --git a/tests/testthat/_snaps/hgraph/clockwise-order.svg b/tests/testthat/_snaps/hgraph/clockwise-order.svg index acefc07..fee712e 100644 --- a/tests/testthat/_snaps/hgraph/clockwise-order.svg +++ b/tests/testthat/_snaps/hgraph/clockwise-order.svg @@ -18,6 +18,7 @@ + diff --git a/tests/testthat/_snaps/hgraph/custom-ellipses-multiline.svg b/tests/testthat/_snaps/hgraph/custom-ellipses-multiline.svg index 5f39595..3333f04 100644 --- a/tests/testthat/_snaps/hgraph/custom-ellipses-multiline.svg +++ b/tests/testthat/_snaps/hgraph/custom-ellipses-multiline.svg @@ -18,6 +18,7 @@ + diff --git a/tests/testthat/_snaps/hgraph/gray-shades.svg b/tests/testthat/_snaps/hgraph/gray-shades.svg index 91b2023..36855a6 100644 --- a/tests/testthat/_snaps/hgraph/gray-shades.svg +++ b/tests/testthat/_snaps/hgraph/gray-shades.svg @@ -18,6 +18,7 @@ + diff --git a/tests/testthat/_snaps/hgraph/hue-palette.svg b/tests/testthat/_snaps/hgraph/hue-palette.svg index f2638b1..3a0f75d 100644 --- a/tests/testthat/_snaps/hgraph/hue-palette.svg +++ b/tests/testthat/_snaps/hgraph/hue-palette.svg @@ -18,6 +18,7 @@ +