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

One error in tests on PowerPC: test-serializeJSON-S4.R #415

Open
barracuda156 opened this issue Mar 3, 2023 · 0 comments
Open

One error in tests on PowerPC: test-serializeJSON-S4.R #415

barracuda156 opened this issue Mar 3, 2023 · 0 comments

Comments

@barracuda156
Copy link

@jeroen If you have a minute, could you please take a look? Everything passes but one test:

R version 4.2.2 (2022-10-31) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.8.0 (32-bit)

> #This file runs all unit tests on every R CMD check.
> #Comment this out to disable.
> 
> library(testthat)
> 
> #filter is to disable tests that rely on external servers
> test_check("jsonlite", filter="toJSON|fromJSON|libjson|serializeJSON")
Loading required package: jsonlite
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1501 ]

══ Skipped tests ═══════════════════════════════════════════════════════════════
• sf cannot be loaded (1)

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-serializeJSON-S4.R:62'): Serializing S4 extending SEXPTYPE ───
`complex1` not identical to `c2`.
Objects equal but not identical
Backtrace:
    ▆
 1. └─base::lapply(...) at test-serializeJSON-S4.R:62:2
 2.   └─jsonlite (local) FUN(X[[i]], ...)
 3.     └─testthat::expect_identical(complex1, c2) at test-serializeJSON-S4.R:67:4

[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1501 ]
Error: Test failures
Execution halted

Thanks in any case.

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

1 participant