Skip to content

Commit

Permalink
test gradients on R >= 4.2 instead of 4.1 due to stricter requirement…
Browse files Browse the repository at this point in the history
…s of ggplot2::check_device
  • Loading branch information
mjskay committed Nov 21, 2024
1 parent 771be79 commit ef4391a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit ef4391a

Please sign in to comment.