From ef4391a4be5940b5276b29451490f87084bfa740 Mon Sep 17 00:00:00 2001 From: Matthew Kay Date: Wed, 20 Nov 2024 23:09:48 -0600 Subject: [PATCH] test gradients on R >= 4.2 instead of 4.1 due to stricter requirements of ggplot2::check_device --- R/testthat.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/testthat.R b/R/testthat.R index 70e205ac..2ac5b984 100755 --- a/R/testthat.R +++ b/R/testthat.R @@ -38,7 +38,7 @@ skip_if_mac = function() { #' gradients would be incorrect) #' @noRd skip_if_no_gradient = function() { - testthat::skip_if_not(getRversion() >= "4.1") + testthat::skip_if_not(getRversion() >= "4.2") testthat::skip_if_not_installed("svglite", "2.1.0") testthat::skip_if_not_installed("fontquiver") testthat::skip_if_not_installed("sysfonts")