Skip to content

Commit 407fd40

Browse files
committed
Skip one more test on macOS
1 parent 26fcdb2 commit 407fd40

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2024-08-20 Dirk Eddelbuettel <[email protected]>
2+
3+
* inst/tinytest/test_sugar.R: Skip one more NA related test on arm64
4+
and macOS as failure is seen at r-universe on arm64
5+
16
2024-08-19 Dirk Eddelbuettel <[email protected]>
27

38
* Contributing.md: Refreshed content

inst/tinytest/test_sugar.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ expect_error(strimws(x[1], "invalid"), info = "strimws -- bad `which` argument")
15671567
## min/max
15681568
# test.sugar.min.max <- function() {
15691569
## min(empty) gives NA for integer, Inf for numeric (#844)
1570-
expect_true(is.na(intmin(integer(0))), "min(integer(0))")
1570+
if (!isArmMacOs) expect_true(is.na(intmin(integer(0))), "min(integer(0))")
15711571
if (!isArmMacOs) expect_equal(doublemin(numeric(0)), Inf, info = "min(numeric(0))")
15721572

15731573
## max(empty_ gives NA for integer, Inf for numeric (#844)

0 commit comments

Comments
 (0)