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 = "enrichment") java_compat.h:45:36: runtime error: signed integer overflow: 31 * 2098784246 cannot be represented in type 'int' #0 0x7f970b91c87f 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 0x7f970b91bcfc 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 0x7f970b91b66c 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 0x7f970b8f7ed1 in _pathfindR_java_node_order /data/gannet/ripley/R/packages/tests-clang-UBSAN/pathfindR/src/RcppExports.cpp:41:34 #4 0x5603764c0523 in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8f523) #5 0x56037650be07 in bcEval_loop eval.c #6 0x5603764fa18b in bcEval eval.c #7 0x5603764f9944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #8 0x560376511aa8 in R_execClosure eval.c #9 0x560376510f9a in applyClosure_core eval.c #10 0x5603764fa866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #11 0x5603764f9d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #12 0x560376516e07 in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe5e07) #13 0x5603764f9b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #14 0x5603765160fa in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe50fa) #15 0x5603764f9b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #16 0x560376518277 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7277) #17 0x560376500bc3 in bcEval_loop eval.c #18 0x5603764fa18b in bcEval eval.c #19 0x5603764f9944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #20 0x560376511aa8 in R_execClosure eval.c #21 0x560376510f9a in applyClosure_core eval.c #22 0x5603764fa866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #23 0x5603764f9d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #24 0x560376518657 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7657) #25 0x560376500bc3 in bcEval_loop eval.c #26 0x5603764fa18b in bcEval eval.c #27 0x5603764f9944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #28 0x560376511aa8 in R_execClosure eval.c #29 0x560376510f9a in applyClosure_core eval.c #30 0x560376514448 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe3448) #31 0x5603764467eb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x157eb) #32 0x56037655c017 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12b017) #33 0x560376500e25 in bcEval_loop eval.c #34 0x5603764fa18b in bcEval eval.c #35 0x5603764f9944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #36 0x560376511aa8 in R_execClosure eval.c #37 0x560376510f9a in applyClosure_core eval.c #38 0x5603764fa866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #39 0x5603764f9d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #40 0x560376546f87 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x115f87) #41 0x560376548a8e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117a8e) #42 0x560376548afa in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117afa) #43 0x560376432db7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1db7) #44 0x7f971f212574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #45 0x7f971f212627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #46 0x560376432cd4 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 0x7f970b9068f7 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 0x7f970b9068f7 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 0x7f970b8f7722 in _pathfindR_run_greedy_search /data/gannet/ripley/R/packages/tests-clang-UBSAN/pathfindR/src/RcppExports.cpp:29:34 #3 0x5603764c19db in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x909db) #4 0x56037650be07 in bcEval_loop eval.c #5 0x5603764fa18b in bcEval eval.c #6 0x5603764f9944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #7 0x560376511aa8 in R_execClosure eval.c #8 0x560376510f9a in applyClosure_core eval.c #9 0x5603764fa866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #10 0x5603764f9d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #11 0x560376516f09 in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe5f09) #12 0x5603764f9b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #13 0x5603765160fa in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe50fa) #14 0x5603764f9b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #15 0x5603765156a9 in do_for (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe46a9) #16 0x5603764f9b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #17 0x5603765160fa in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe50fa) #18 0x5603764f9b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #19 0x5603765156a9 in do_for (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe46a9) #20 0x5603764f9b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #21 0x5603765160fa in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe50fa) #22 0x5603764f9b6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #23 0x560376518277 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7277) #24 0x560376500bc3 in bcEval_loop eval.c #25 0x5603764fa18b in bcEval eval.c #26 0x5603764f9944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #27 0x560376511aa8 in R_execClosure eval.c #28 0x560376510f9a in applyClosure_core eval.c #29 0x5603764fa866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #30 0x5603764f9d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #31 0x560376518657 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7657) #32 0x560376500bc3 in bcEval_loop eval.c #33 0x5603764fa18b in bcEval eval.c #34 0x5603764f9944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #35 0x560376511aa8 in R_execClosure eval.c #36 0x560376510f9a in applyClosure_core eval.c #37 0x560376514448 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe3448) #38 0x5603764467eb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x157eb) #39 0x56037655c017 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12b017) #40 0x560376500e25 in bcEval_loop eval.c #41 0x5603764fa18b in bcEval eval.c #42 0x5603764f9944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #43 0x560376511aa8 in R_execClosure eval.c #44 0x560376510f9a in applyClosure_core eval.c #45 0x5603764fa866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #46 0x5603764f9d97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #47 0x560376546f87 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x115f87) #48 0x560376548a8e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117a8e) #49 0x560376548afa in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117afa) #50 0x560376432db7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1db7) #51 0x7f971f212574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #52 0x7f971f212627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #53 0x560376432cd4 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 122 ] > > proc.time() user system elapsed 33.462 1.810 40.947