Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 tests in test_checkIntegerish.R fail on 32-bit platforms [ FAIL 2 | WARN 0 | SKIP 1 | PASS 3004 ] #241

Open
barracuda156 opened this issue Apr 27, 2023 · 3 comments

Comments

@barracuda156
Copy link

barracuda156 commented Apr 27, 2023

Example with ppc:

R version 4.2.3 (2023-03-15) -- "Shortstop Beagle"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.8.0 (32-bit)

> library(testthat)
> test_check("checkmate")
Loading required package: checkmate
[ FAIL 2 | WARN 0 | SKIP 1 | PASS 3004 ]

══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (1)

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_checkIntegerish.R:73:3'): informative error messages ─────────
Check on 'x' failed: Must contain substring 'element 5'
Backtrace:
    ▆
 1. └─checkmate::expect_string(x, fixed = "element 5") at test_checkIntegerish.R:73:2
 2.   └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_checkIntegerish.R:77:3'): informative error messages ─────────
Check on 'x' failed: Must contain substring 'element 1'
Backtrace:
    ▆
 1. └─checkmate::expect_string(x, fixed = "element 1") at test_checkIntegerish.R:77:2
 2.   └─checkmate::makeExpectation(x, res, info, label)

[ FAIL 2 | WARN 0 | SKIP 1 | PASS 3004 ]
Error: Test failures
Execution halted
@tillea
Copy link

tillea commented Aug 15, 2023

I confirm this issue also for all 32 bit architectures as it is reported in an according Debian bug which also links to the list of all supportet architectures CI check. If you follow the Regression links you get a full test log which reproduces the error message above.

@barracuda156 barracuda156 changed the title 2 tests in test_checkIntegerish.R fail on PowerPC [ FAIL 2 | WARN 0 | SKIP 1 | PASS 3004 ] 2 tests in test_checkIntegerish.R fail on 32-bit platforms [ FAIL 2 | WARN 0 | SKIP 1 | PASS 3004 ] Aug 15, 2023
@barracuda156
Copy link
Author

@tillea Thank you for the info, I have updated the issue title.

@tillea
Copy link

tillea commented Aug 15, 2023

@barracuda156 Thanks for fixing the title. Some info from authors would be helpful. If it turns out to be a hard issue that will not be fixed quickly I'd exclude these tests for the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants