R Under development (unstable) (2026-01-20 r89309) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(hexify) > > test_check("hexify") Spherical geometry (s2) switched off although coordinates are longitude/latitude, st_union assumes that they are planar although coordinates are longitude/latitude, st_intersection assumes that they are planar Spherical geometry (s2) switched on Spherical geometry (s2) switched off although coordinates are longitude/latitude, st_union assumes that they are planar although coordinates are longitude/latitude, st_within assumes that they are planar Spherical geometry (s2) switched on coordinate_transforms.cpp:243:48: runtime error: nan is outside the range of representable values of type 'long long' #0 0x7fcb04ac9ff6 in hexify::(anonymous namespace)::quantize_class1(double, double, long long&, long long&) /data/gannet/ripley/R/packages/tests-clang-UBSAN/hexify/src/coordinate_transforms.cpp:243:48 #1 0x7fcb04ac9aa5 in hexify::quad_xy_to_ij(int, double, double, int, int, int&, long long&, long long&) /data/gannet/ripley/R/packages/tests-clang-UBSAN/hexify/src/coordinate_transforms.cpp #2 0x7fcb04aca2b1 in hexify::icosa_tri_to_quad_ij(int, double, double, int, int, int&, long long&, long long&) /data/gannet/ripley/R/packages/tests-clang-UBSAN/hexify/src/coordinate_transforms.cpp:576:5 #3 0x7fcb04ae3da9 in cpp_lonlat_to_cell(Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, int) /data/gannet/ripley/R/packages/tests-clang-UBSAN/hexify/src/rcpp_cell.cpp:427:9 #4 0x7fcb04aa9284 in _hexify_cpp_lonlat_to_cell /data/gannet/ripley/R/packages/tests-clang-UBSAN/hexify/src/RcppExports.cpp:479:34 #5 0x56322d707a45 in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8ea45) #6 0x56322d756daf in bcEval_loop eval.c #7 0x56322d73fbeb in bcEval eval.c #8 0x56322d73f374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #9 0x56322d75c768 in R_execClosure eval.c #10 0x56322d75bc6b in applyClosure_core eval.c #11 0x56322d73f7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #12 0x56322d761d6d in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe8d6d) #13 0x56322d73f59f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc659f) #14 0x56322d705f9b in do_External (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8cf9b) #15 0x56322d7477ea in bcEval_loop eval.c #16 0x56322d73fbeb in bcEval eval.c #17 0x56322d73f374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #18 0x56322d75c768 in R_execClosure eval.c #19 0x56322d75bc6b in applyClosure_core eval.c #20 0x56322d73f7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #21 0x56322d760e2a in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7e2a) #22 0x56322d73f59f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc659f) #23 0x56322d7631d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #24 0x56322d7477ea in bcEval_loop eval.c #25 0x56322d73fbeb in bcEval eval.c #26 0x56322d73f374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #27 0x56322d75c768 in R_execClosure eval.c #28 0x56322d75bc6b in applyClosure_core eval.c #29 0x56322d73f7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #30 0x56322d7635b7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea5b7) #31 0x56322d7477ea in bcEval_loop eval.c #32 0x56322d73fbeb in bcEval eval.c #33 0x56322d73f374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #34 0x56322d75c768 in R_execClosure eval.c #35 0x56322d75bc6b in applyClosure_core eval.c #36 0x56322d75f144 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe6144) #37 0x56322d68e7db in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x157db) #38 0x56322d7a6bc7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12dbc7) #39 0x56322d747a6b in bcEval_loop eval.c #40 0x56322d73fbeb in bcEval eval.c #41 0x56322d73f374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #42 0x56322d75c768 in R_execClosure eval.c #43 0x56322d75bc6b in applyClosure_core eval.c #44 0x56322d73f7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #45 0x56322d791717 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x118717) #46 0x56322d79321e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a21e) #47 0x56322d79328a in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a28a) #48 0x56322d67ada7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1da7) #49 0x7fcb12b135f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #50 0x7fcb12b136a7 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #51 0x56322d67acc4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cc4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior coordinate_transforms.cpp:243:48 coordinate_transforms.cpp:244:48: runtime error: nan is outside the range of representable values of type 'long long' #0 0x7fcb04aca056 in hexify::(anonymous namespace)::quantize_class1(double, double, long long&, long long&) /data/gannet/ripley/R/packages/tests-clang-UBSAN/hexify/src/coordinate_transforms.cpp:244:48 #1 0x7fcb04ac9aa5 in hexify::quad_xy_to_ij(int, double, double, int, int, int&, long long&, long long&) /data/gannet/ripley/R/packages/tests-clang-UBSAN/hexify/src/coordinate_transforms.cpp #2 0x7fcb04aca2b1 in hexify::icosa_tri_to_quad_ij(int, double, double, int, int, int&, long long&, long long&) /data/gannet/ripley/R/packages/tests-clang-UBSAN/hexify/src/coordinate_transforms.cpp:576:5 #3 0x7fcb04ae3da9 in cpp_lonlat_to_cell(Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, int) /data/gannet/ripley/R/packages/tests-clang-UBSAN/hexify/src/rcpp_cell.cpp:427:9 #4 0x7fcb04aa9284 in _hexify_cpp_lonlat_to_cell /data/gannet/ripley/R/packages/tests-clang-UBSAN/hexify/src/RcppExports.cpp:479:34 #5 0x56322d707a45 in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8ea45) #6 0x56322d756daf in bcEval_loop eval.c #7 0x56322d73fbeb in bcEval eval.c #8 0x56322d73f374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #9 0x56322d75c768 in R_execClosure eval.c #10 0x56322d75bc6b in applyClosure_core eval.c #11 0x56322d73f7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #12 0x56322d761d6d in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe8d6d) #13 0x56322d73f59f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc659f) #14 0x56322d705f9b in do_External (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8cf9b) #15 0x56322d7477ea in bcEval_loop eval.c #16 0x56322d73fbeb in bcEval eval.c #17 0x56322d73f374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #18 0x56322d75c768 in R_execClosure eval.c #19 0x56322d75bc6b in applyClosure_core eval.c #20 0x56322d73f7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #21 0x56322d760e2a in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7e2a) #22 0x56322d73f59f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc659f) #23 0x56322d7631d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #24 0x56322d7477ea in bcEval_loop eval.c #25 0x56322d73fbeb in bcEval eval.c #26 0x56322d73f374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #27 0x56322d75c768 in R_execClosure eval.c #28 0x56322d75bc6b in applyClosure_core eval.c #29 0x56322d73f7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #30 0x56322d7635b7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea5b7) #31 0x56322d7477ea in bcEval_loop eval.c #32 0x56322d73fbeb in bcEval eval.c #33 0x56322d73f374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #34 0x56322d75c768 in R_execClosure eval.c #35 0x56322d75bc6b in applyClosure_core eval.c #36 0x56322d75f144 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe6144) #37 0x56322d68e7db in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x157db) #38 0x56322d7a6bc7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12dbc7) #39 0x56322d747a6b in bcEval_loop eval.c #40 0x56322d73fbeb in bcEval eval.c #41 0x56322d73f374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #42 0x56322d75c768 in R_execClosure eval.c #43 0x56322d75bc6b in applyClosure_core eval.c #44 0x56322d73f7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #45 0x56322d791717 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x118717) #46 0x56322d79321e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a21e) #47 0x56322d79328a in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a28a) #48 0x56322d67ada7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1da7) #49 0x7fcb12b135f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #50 0x7fcb12b136a7 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #51 0x56322d67acc4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cc4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior coordinate_transforms.cpp:244:48 Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Cell area: 863.80 km^2 Cell spacing: 31.58 km Total cells: 590492 Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off although coordinates are longitude/latitude, st_union assumes that they are planar although coordinates are longitude/latitude, st_difference assumes that they are planar Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on [ FAIL 0 | WARN 1 | SKIP 21 | PASS 3897 ] ══ Skipped tests (21) ══════════════════════════════════════════════════════════ • On CRAN (20): 'test-aperture-3.R:74:3', 'test-aperture-4.R:48:3', 'test-aperture-7.R:48:3', 'test-dggrid-compat.R:25:3', 'test-dggrid-compat.R:51:3', 'test-dggrid-compat.R:77:3', 'test-dggrid-compat.R:182:3', 'test-dggrid-compat.R:215:3', 'test-dggrid-compat.R:236:3', 'test-dggrid-compat.R:266:3', 'test-dggrid-compat.R:301:3', 'test-index-z3.R:237:3', 'test-projection-forward.R:23:3', 'test-projection-forward.R:42:3', 'test-projection-forward.R:76:3', 'test-projection-forward.R:101:3', 'test-projection-forward.R:161:3', 'test-projection-inverse.R:57:3', 'test-projection-inverse.R:218:3', 'test-projection-inverse.R:232:3' • rnaturalearth is installed, skipping error test (1): 'test-visualization.R:728:3' [ FAIL 0 | WARN 1 | SKIP 21 | PASS 3897 ] > > proc.time() user system elapsed 903.211 47.300 1128.819