R Under development (unstable) (2026-11-17 r90926) -- "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(clustur) > > test_check("clustur") Added 2425 sequences. Assigned 2425 sequence abundances. Assigned 2425 sequence taxonomies. Assigned 531 otu bins. Assigned 2425 asv bins. Assigned 63 phylotype bins. Assigned 19 samples to treatments. Assigned 171 samples distances. Assigned 531 otu bin taxonomies. Assigned 531 otu bin representative sequences. Added a metadata report. Added 2 resource references. Added a contigs_report report. Assigned 480 otu bins. Assigned 969 otu bins. Assigned 352 otu bins. Assigned 1589 otu bins. Assigned 1590 otu bins. ================================================================= ==2358559==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7c2ca9cea660 at pc 0x7b0c97544909 bp 0x7ffef387bab0 sp 0x7ffef387baa8 READ of size 1 at 0x7c2ca9cea660 thread T0 #0 0x7b0c97544908 in std::__1::basic_string, std::__1::allocator>::__is_long[abi:nqe230105]() const /usr/local/clang23/bin/../include/c++/v1/string:2053:23 #1 0x7b0c97544908 in std::__1::basic_string, std::__1::allocator>::size[abi:nqe230105]() const /usr/local/clang23/bin/../include/c++/v1/string:1207:12 #2 0x7b0c97544908 in bool std::__1::operator==[abi:nqe230105], std::__1::allocator>(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) /usr/local/clang23/bin/../include/c++/v1/string:3503:27 #3 0x7b0c97544908 in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/SensSpecCalc.cpp:36:39 #4 0x7b0c97425f83 in ClusterSplit::cluster(SplitClusterData*) const /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:206:17 #5 0x7b0c97420820 in ClusterSplit::createProcesses(std::__1::vector>&, std::__1::set, std::__1::allocator>, std::__1::less, std::__1::allocator>>, std::__1::allocator, std::__1::allocator>>>&, unsigned long) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:160:5 #6 0x7b0c9741f044 in ClusterSplit::Execute() /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:41:49 #7 0x7b0c975761e9 in OptiSplit(Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, double, int, int, int, std::__1::basic_string, std::__1::allocator> const&, double, int, int, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/executeClusterMethods.cpp:322:34 #8 0x7b0c97538a48 in _clustur_OptiSplit /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/RcppExports.cpp:183:34 #9 0x556b616ea817 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c #10 0x556b616f65a5 in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1454:11 #11 0x556b617a6d7a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155:14 #12 0x556b6179a304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #13 0x556b61798891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #14 0x556b617e131c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #15 0x556b617e0478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #16 0x556b6179b94e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #17 0x556b617992b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #18 0x556b617f24b5 in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3587:8 #19 0x556b61798dd0 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #20 0x556b617efb59 in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3003:10 #21 0x556b61798dd0 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #22 0x556b617f6f33 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3977:13 #23 0x556b617a6d7a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155:14 #24 0x556b6179a304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #25 0x556b61798891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #26 0x556b617e131c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #27 0x556b617e0478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #28 0x556b6179b94e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #29 0x556b617992b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #30 0x556b617f789a in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3995:9 #31 0x556b617a6d7a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155:14 #32 0x556b6179a304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #33 0x556b61798891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #34 0x556b617e131c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #35 0x556b617e0478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #36 0x556b617e9fc4 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #37 0x556b617e9fc4 in R_forceAndCall /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2467:8 #38 0x556b6159e272 in do_lapply /data/localhost/ripley/R/svn/R-devel/src/main/apply.c:75:8 #39 0x556b618a1809 in do_internal /data/localhost/ripley/R/svn/R-devel/src/main/names.c:1425:11 #40 0x556b617ac583 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8175:15 #41 0x556b6179a304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #42 0x556b61798891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #43 0x556b617e131c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #44 0x556b617e0478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #45 0x556b6179b94e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #46 0x556b617992b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #47 0x556b6186ad61 in Rf_ReplIteration /data/localhost/ripley/R/svn/R-devel/src/main/main.c:264:23 #48 0x556b6186d590 in R_ReplConsole /data/localhost/ripley/R/svn/R-devel/src/main/main.c:319:11 #49 0x556b6186d590 in run_Rmainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1239:5 #50 0x556b6186d622 in Rf_mainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1246:5 #51 0x556b6156aa9c in main /data/localhost/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 #52 0x7f0cad30b680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #53 0x7f0cad30b797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #54 0x556b6147a7d4 in _start (/data/localhost/ripley/R/clang-ASAN/bin/exec/R+0x17d4) 0x7c2ca9cea660 is located 0 bytes after 288-byte region [0x7c2ca9cea540,0x7c2ca9cea660) allocated by thread T0 here: #0 0x556b61528e44 in malloc /data/localhost/ripley/Sources/LLVM/23/latest/compiler-rt/lib/asan/asan_malloc_linux.cpp:109:3 #1 0x7f0caae2027b in operator new(unsigned long) (/lib64/libstdc++.so.6+0x2027b) (BuildId: 1acb19d34793ce46d919b6e25693a5592ba8fbd4) #2 0x7b0c974b246e in OptiData::getNameIndexMap() const /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/./DataStructures/OptiData.h:109:56 #3 0x7b0c975440cd in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/SensSpecCalc.cpp:20:81 #4 0x7b0c97425f83 in ClusterSplit::cluster(SplitClusterData*) const /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:206:17 #5 0x7b0c97420820 in ClusterSplit::createProcesses(std::__1::vector>&, std::__1::set, std::__1::allocator>, std::__1::less, std::__1::allocator>>, std::__1::allocator, std::__1::allocator>>>&, unsigned long) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:160:5 #6 0x7b0c9741f044 in ClusterSplit::Execute() /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:41:49 #7 0x7b0c975761e9 in OptiSplit(Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, double, int, int, int, std::__1::basic_string, std::__1::allocator> const&, double, int, int, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/executeClusterMethods.cpp:322:34 #8 0x7b0c97538a48 in _clustur_OptiSplit /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/RcppExports.cpp:183:34 #9 0x556b616ea817 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c #10 0x556b616f65a5 in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1454:11 #11 0x556b617a6d7a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155:14 #12 0x556b6179a304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #13 0x556b61798891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #14 0x556b617e131c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #15 0x556b617e0478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #16 0x556b6179b94e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #17 0x556b617992b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #18 0x556b617f24b5 in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3587:8 #19 0x556b61798dd0 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #20 0x556b617efb59 in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3003:10 #21 0x556b61798dd0 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #22 0x556b617f6f33 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3977:13 #23 0x556b617a6d7a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155:14 #24 0x556b6179a304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #25 0x556b61798891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #26 0x556b617e131c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #27 0x556b617e0478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #28 0x556b6179b94e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #29 0x556b617992b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 SUMMARY: AddressSanitizer: heap-buffer-overflow /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/SensSpecCalc.cpp:36:39 in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) Shadow bytes around the buggy address: 0x7c2ca9cea380: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x7c2ca9cea400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c2ca9cea480: 00 00 00 00 00 00 00 00 00 fa fa fa fa fa fa fa 0x7c2ca9cea500: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x7c2ca9cea580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7c2ca9cea600: 00 00 00 00 00 00 00 00 00 00 00 00[fa]fa fa fa 0x7c2ca9cea680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7c2ca9cea700: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7c2ca9cea780: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7c2ca9cea800: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x7c2ca9cea880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==2358559==ABORTING