You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess this should use something smaller than the default precision = 16 in s2_as_text.
Using a value of 15 already fixes the test for me. Maybe the default could even be reconsidered?
This is the only failing test (see output below) and I'd appreciate if it could be fixed with the next release.
FWIW, the other s2_as_text() test using a "polygon with a hole in a hole" gives similar output but does not fail the expectation as the matched element is reproduced without numerical fuzz even with the default precision = 16:
R Under development (unstable) (2023-02-09 r83794)
Platform: x86_64-pc-linux-musl (64-bit)
Running under: Alpine Linux v3.17
Matrix products: default
BLAS: /home/smeyer/QA/R-83794/build/lib/libRblas.so
LAPACK: /home/smeyer/QA/R-83794/build/lib/libRlapack.so; LAPACK version 3.11.0
locale:
[1] C.UTF-8 C C C C C
time zone: Europe/Berlin
tzcode source: internal
The text was updated successfully, but these errors were encountered:
The test "nested ring depths are correctly exported"
s2/tests/testthat/test-s2-geography.R
Lines 163 to 175 in 76e36ae
fails on Alpine Linux, because the tested
s2_as_text()
call gives:I guess this should use something smaller than the default
precision = 16
ins2_as_text
.Using a value of 15 already fixes the test for me. Maybe the default could even be reconsidered?
This is the only failing test (see output below) and I'd appreciate if it could be fixed with the next release.
R CMD check (tests) output
FWIW, the other
s2_as_text()
test using a "polygon with a hole in a hole" gives similar output but does not fail the expectation as the matched element is reproduced without numerical fuzz even with the defaultprecision = 16
:sessionInfo()
The text was updated successfully, but these errors were encountered: