R Under development (unstable) (2026-06-21 r90185) -- "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. > library(testthat) > library(pathfindR) Loading required package: pathfindR.data > > test_check("pathfindR", filter = "search-and-enrichment-wrapper") java_compat.h:45:36: runtime error: signed integer overflow: 31 * 2098784246 cannot be represented in type 'int' #0 0x7fe39734687f in java_string_hashcode(std::__cxx11::basic_string, std::allocator> const&) /data/gannet/ripley/R/packages/tests-clang-UBSAN/pathfindR/src/./java_compat.h:45:36 #1 0x7fe397345cfc in java_node_order(Rcpp::Vector<16, Rcpp::PreserveStorage>, Rcpp::Vector<16, Rcpp::PreserveStorage>)::$_0::operator()(std::__cxx11::basic_string, std::allocator> const&) const /data/gannet/ripley/R/packages/tests-clang-UBSAN/pathfindR/src/java_compat.cpp:53:32 #2 0x7fe39734566c in java_node_order(Rcpp::Vector<16, Rcpp::PreserveStorage>, Rcpp::Vector<16, Rcpp::PreserveStorage>) /data/gannet/ripley/R/packages/tests-clang-UBSAN/pathfindR/src/java_compat.cpp:61:5 #3 0x7fe397321ed1 in _pathfindR_java_node_order /data/gannet/ripley/R/packages/tests-clang-UBSAN/pathfindR/src/RcppExports.cpp:41:34 #4 0x55b547948523 in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8f523) #5 0x55b547993e07 in bcEval_loop eval.c #6 0x55b54798218b in bcEval eval.c #7 0x55b547981944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #8 0x55b547999aa8 in R_execClosure eval.c #9 0x55b547998f9a in applyClosure_core eval.c #10 0x55b547982866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #11 0x55b547981d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #12 0x55b54799ee07 in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe5e07) #13 0x55b547981b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #14 0x55b54799e0fa in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe50fa) #15 0x55b547981b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #16 0x55b5479a0277 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7277) #17 0x55b547988bc3 in bcEval_loop eval.c #18 0x55b54798218b in bcEval eval.c #19 0x55b547981944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #20 0x55b547999aa8 in R_execClosure eval.c #21 0x55b547998f9a in applyClosure_core eval.c #22 0x55b547982866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #23 0x55b547981d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #24 0x55b5479a0657 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7657) #25 0x55b547988bc3 in bcEval_loop eval.c #26 0x55b54798218b in bcEval eval.c #27 0x55b547981944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #28 0x55b547999aa8 in R_execClosure eval.c #29 0x55b547998f9a in applyClosure_core eval.c #30 0x55b54799c448 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe3448) #31 0x55b5478ce7eb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x157eb) #32 0x55b5479e4017 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12b017) #33 0x55b547988e25 in bcEval_loop eval.c #34 0x55b54798218b in bcEval eval.c #35 0x55b547981944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #36 0x55b547999aa8 in R_execClosure eval.c #37 0x55b547998f9a in applyClosure_core eval.c #38 0x55b547982866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #39 0x55b547981d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #40 0x55b5479cef87 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x115f87) #41 0x55b5479d0a8e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117a8e) #42 0x55b5479d0afa in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117afa) #43 0x55b5478badb7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1db7) #44 0x7fe3aac12574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #45 0x7fe3aac12627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #46 0x55b5478bacd4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cd4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior java_compat.h:45:36 java_compat.h:45:36: runtime error: signed integer overflow: 31 * 2098784275 cannot be represented in type 'int' #0 0x7fe3973308f7 in java_string_hashcode(std::__cxx11::basic_string, std::allocator> const&) /data/gannet/ripley/R/packages/tests-clang-UBSAN/pathfindR/src/./java_compat.h:45:36 #1 0x7fe3973308f7 in run_greedy_search(Rcpp::Vector<19, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<16, Rcpp::PreserveStorage>, int, int, int, double, int) /data/gannet/ripley/R/packages/tests-clang-UBSAN/pathfindR/src/greedy_search.cpp:215:20 #2 0x7fe397321722 in _pathfindR_run_greedy_search /data/gannet/ripley/R/packages/tests-clang-UBSAN/pathfindR/src/RcppExports.cpp:29:34 #3 0x55b5479499db in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x909db) #4 0x55b547993e07 in bcEval_loop eval.c #5 0x55b54798218b in bcEval eval.c #6 0x55b547981944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #7 0x55b547999aa8 in R_execClosure eval.c #8 0x55b547998f9a in applyClosure_core eval.c #9 0x55b547982866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #10 0x55b547981d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #11 0x55b54799ef09 in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe5f09) #12 0x55b547981b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #13 0x55b54799e0fa in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe50fa) #14 0x55b547981b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #15 0x55b54799d6a9 in do_for (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe46a9) #16 0x55b547981b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #17 0x55b54799e0fa in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe50fa) #18 0x55b547981b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #19 0x55b54799d6a9 in do_for (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe46a9) #20 0x55b547981b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #21 0x55b54799e0fa in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe50fa) #22 0x55b547981b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #23 0x55b5479a0277 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7277) #24 0x55b547988bc3 in bcEval_loop eval.c #25 0x55b54798218b in bcEval eval.c #26 0x55b547981944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #27 0x55b547999aa8 in R_execClosure eval.c #28 0x55b547998f9a in applyClosure_core eval.c #29 0x55b547982866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #30 0x55b547981d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #31 0x55b5479a0657 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7657) #32 0x55b547988bc3 in bcEval_loop eval.c #33 0x55b54798218b in bcEval eval.c #34 0x55b547981944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #35 0x55b547999aa8 in R_execClosure eval.c #36 0x55b547998f9a in applyClosure_core eval.c #37 0x55b54799c448 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe3448) #38 0x55b5478ce7eb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x157eb) #39 0x55b5479e4017 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12b017) #40 0x55b547988e25 in bcEval_loop eval.c #41 0x55b54798218b in bcEval eval.c #42 0x55b547981944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #43 0x55b547999aa8 in R_execClosure eval.c #44 0x55b547998f9a in applyClosure_core eval.c #45 0x55b547982866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #46 0x55b547981d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #47 0x55b5479cef87 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x115f87) #48 0x55b5479d0a8e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117a8e) #49 0x55b5479d0afa in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117afa) #50 0x55b5478badb7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1db7) #51 0x7fe3aac12574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #52 0x7fe3aac12627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #53 0x55b5478bacd4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cd4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior java_compat.h:45:36 [ FAIL 0 | WARN 0 | SKIP 0 | PASS 19 ] > > proc.time() user system elapsed 5.608 0.564 10.163