Skip to content

Sugar test failure on arm64 #1378

Closed
@eddelbuettel

Description

@eddelbuettel

@jeroen now builds under arm64 on Linux, and this leads to four Sugar tests failing. From the current log

Status: 1 ERROR
See
  ‘/__w/rcppcore/rcppcore/Rcpp.Rcheck/00check.log’
for details.

Error: Check: tests, Result: ERROR
    Running ‘tinytest.R’ [223s/195s]
  Running the tests in ‘tests/tinytest.R’ failed.
  Last 13 lines of output:
    ----- FAILED[data]: test_sugar.R<69--69>
     call| expect_true(is.na(fx(c(NA, 6))))
     diff| Expected TRUE, got FALSE
    ----- FAILED[data]: test_sugar.R<77--77>
     call| expect_true(is.na(fx(c(5, NA))))
     diff| Expected TRUE, got FALSE
    ----- FAILED[data]: test_sugar.R<86--86>
     call| expect_true(is.na(fx(c(NA, 1))))
     diff| Expected TRUE, got FALSE
    ----- FAILED[data]: test_sugar.R<1623--1623>
     call| expect_true(is.na(intmin(integer(0))), "min(integer(0))")
     diff| Expected TRUE, got FALSE
     info| min(integer(0))
    Error: 9 out of 1612 tests failed
    Execution halted

tt so happens that r2u also has arm64 support so should be easy for me to poke at in CI so will take a look.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions