From 0d6660f9e173374680f8a1d21dab2bbe715214e8 Mon Sep 17 00:00:00 2001 From: "alex.hill@gmail.com" Date: Mon, 2 Dec 2024 13:17:00 +0000 Subject: [PATCH] skip diff plot tests on mac --- tests/testthat/test-plots.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testthat/test-plots.R b/tests/testthat/test-plots.R index 19a74f1..6cc58de 100644 --- a/tests/testthat/test-plots.R +++ b/tests/testthat/test-plots.R @@ -230,7 +230,7 @@ test_that("Can plot individual trajectories for specific pids with data and titr }) test_that("Can plot stationary points", { - skip_if(getRversion() < "4.1") + skip_on_os("mac") # diff fails on CI for macOS # note that this is using a pre-fitted model with very few iterations, so the # fits won't look very good local_mocked_bindings( @@ -244,7 +244,7 @@ test_that("Can plot stationary points", { }) test_that("Can plot stationary points with no covariates", { - skip_if(getRversion() < "4.1") + skip_on_os("mac") # diff fails on CI for macOS # note that this is using a pre-fitted model with very few iterations, so the # fits won't look very good local_mocked_bindings( @@ -258,7 +258,7 @@ test_that("Can plot stationary points with no covariates", { test_that("Can plot stationary points with upper limit", { - skip_if(getRversion() < "4.1") + skip_on_os("mac") # diff fails on CI for macOS # note that this is using a pre-fitted model with very few iterations, so the # fits won't look very good local_mocked_bindings(