diff --git a/ChangeLog b/ChangeLog index 5e92d0d11..f554d8df3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-08-20 Dirk Eddelbuettel + + * inst/tinytest/test_sugar.R: Skip one more NA related test on arm64 + and macOS as failure is seen at r-universe on arm64 + 2024-08-19 Dirk Eddelbuettel * Contributing.md: Refreshed content diff --git a/inst/tinytest/test_sugar.R b/inst/tinytest/test_sugar.R index 2924e83d0..a751fa3fe 100644 --- a/inst/tinytest/test_sugar.R +++ b/inst/tinytest/test_sugar.R @@ -1567,7 +1567,7 @@ expect_error(strimws(x[1], "invalid"), info = "strimws -- bad `which` argument") ## min/max # test.sugar.min.max <- function() { ## min(empty) gives NA for integer, Inf for numeric (#844) -expect_true(is.na(intmin(integer(0))), "min(integer(0))") +if (!isArmMacOs) expect_true(is.na(intmin(integer(0))), "min(integer(0))") if (!isArmMacOs) expect_equal(doublemin(numeric(0)), Inf, info = "min(numeric(0))") ## max(empty_ gives NA for integer, Inf for numeric (#844)