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

Bug: CRAN error #49

Closed
munterfi opened this issue Apr 22, 2021 · 0 comments · Fixed by #50
Closed

Bug: CRAN error #49

munterfi opened this issue Apr 22, 2021 · 0 comments · Fixed by #50
Assignees
Labels
bug Something isn't working

Comments

@munterfi
Copy link
Owner

CRAN checks encounter new errors due to differences in rounding at high precisions on different platforms:

Additional issues
M1mac noLD

Check Details
Version: 0.2.1
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-windows-ix86+x86_64, r-devel-windows-x86_64-gcc10-UCRT

Version: 0.2.2
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [9s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(flexpolyline)
     >
     > test_check("flexpolyline")
     == Skipped tests ===============================================================
     * On CRAN (1)
    
     == Failed tests ================================================================
     -- Failure (test-cpp_binding.R:73:3): Cpp binding to 'flexpolyline.h' en- and decodes correctly --
     any(...) not equal to FALSE.
     1 element mismatch
    
     [ FAIL 1 | WARN 0 | SKIP 1 | PASS 23 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Solution: Deactivate decoding and encoding tests on CRAN, as the deviations are marginal.

@munterfi munterfi added the bug Something isn't working label Apr 22, 2021
@munterfi munterfi self-assigned this Apr 22, 2021
This was referenced Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant