Skip to content

Commit e594b49

Browse files
Adjust version for svglite skip (#6176)
* Adjust version for svglite skip * Also in test-patterns.R
1 parent cc329df commit e594b49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/testthat/test-patterns.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ test_that("fill_alpha works as expected", {
6161
test_that("geoms can use pattern fills", {
6262

6363
skip_if_not_installed("grid", "4.2.0")
64-
skip_if_not_installed("svglite", "2.1.0")
64+
skip_if_not_installed("svglite", "2.1.2")
6565

6666
# Workaround for vdiffr's lack of pattern support
6767
# See also https://github.com/r-lib/vdiffr/issues/132

tests/testthat/test-utilities-checks.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ test_that("check_device finds ragg capabilities", {
8484

8585
test_that("check_device finds svglite capabilities", {
8686
skip_if(
87-
getRversion() < "4.2.0" || !is_installed("svglite", version = "2.1.0"),
87+
getRversion() < "4.2.0" || !is_installed("svglite", version = "2.1.2"),
8888
"Cannot test {svglite} capabilities."
8989
)
9090
tmp <- withr::local_tempfile(fileext = ".svg")

0 commit comments

Comments
 (0)