From 12a736fe5676a71db228f7a3db90e2f6a9304b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Th=C3=A9riault?= <13123390+rempsyc@users.noreply.github.com> Date: Sun, 20 Aug 2023 17:05:34 -0400 Subject: [PATCH] fix --- tests/testthat/test-htest_data.R | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-htest_data.R b/tests/testthat/test-htest_data.R index 564faf83..acd655d5 100644 --- a/tests/testthat/test-htest_data.R +++ b/tests/testthat/test-htest_data.R @@ -1,5 +1,5 @@ test_that("basic examples", { - if (getRversion() < 4.1.3) { + if (getRversion() < "4.1.3") { skip_on_os("linux") } @@ -96,6 +96,10 @@ test_that("edge cases", { }) test_that("subset and na.action", { + if (getRversion() < "4.1.3") { + skip_on_os("linux") + } + # t.test some_data <- mtcars some_data$mpg[1] <- NA