Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hillalex committed Nov 20, 2024
1 parent c34ecbe commit 322b7a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit 322b7a6

Please sign in to comment.