From 322b7a66da785b2cfe200c763be50e102173043e Mon Sep 17 00:00:00 2001 From: "alex.hill@gmail.com" Date: Tue, 19 Nov 2024 13:43:22 +0000 Subject: [PATCH] fix tests --- 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 2509ef5..19a74f1 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_if(getRversion() < "4.1") # 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_if(getRversion() < "4.1") # 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_if(getRversion() < "4.1") # note that this is using a pre-fitted model with very few iterations, so the # fits won't look very good local_mocked_bindings(