diff --git a/DESCRIPTION b/DESCRIPTION index 67124b5e4..8c8add489 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -106,7 +106,7 @@ Suggests: splines, testthat (>= 3.1.7), tidygraph, - vdiffr (>= 1.0.5) + vdiffr (>= 1.0.6) Encoding: UTF-8 Language: en-US Roxygen: list(markdown = TRUE) diff --git a/tests/testthat.R b/tests/testthat.R index 3883f51bf..849731173 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -1,6 +1,6 @@ -# graphics engine changed in R 4.1, and so snapshots generated on -# previous R version won't be compatible -if (require("testthat") && require("vdiffr") && getRversion() > "4.1.0") { +# graphics engine changed in these versions, and so snapshots generated on +# previous R version won't work +if (require("testthat") && require("vdiffr") && getRversion() > "4.1.0" && getRversion() < "4.4.0") { library(testthat) library(see)