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. ================================================================= ==270623==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7c4282bc54b0 at pc 0x7b1269b949ee bp 0x7ffeec0ca050 sp 0x7ffeec0ca048 READ of size 8 at 0x7c4282bc54b0 thread T0 #0 0x7b1269b949ed in std::__cxx11::basic_string, std::allocator >::size() const /usr/include/c++/16/bits/basic_string.h:1189 #1 0x7b1269b949ed in bool std::operator==, std::allocator >(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) /usr/include/c++/16/bits/basic_string.h:4104 #2 0x7b1269b949ed in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/SensSpecCalc.cpp:36 #3 0x7b12698bcff1 in ClusterSplit::cluster(SplitClusterData*) const /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/ClusterSplit.cpp:206 #4 0x7b12698c41f5 in ClusterSplit::createProcesses(std::vector >&, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >&, unsigned long) /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/ClusterSplit.cpp:160 #5 0x7b12698d2bea in ClusterSplit::Execute() /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/ClusterSplit.cpp:41 #6 0x7b1269c197d9 in OptiSplit(Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, double, int, int, int, std::__cxx11::basic_string, std::allocator > const&, double, int, int, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/executeClusterMethods.cpp:322 #7 0x7b1269b8b100 in _clustur_OptiSplit /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/RcppExports.cpp:183 #8 0x00000075ed6f in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:842 #9 0x0000007646ca in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1454 #10 0x0000008f1a8b in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155 #11 0x0000008dc95b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 #12 0x00000087a80a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #13 0x000000893c8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #14 0x00000089798d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #15 0x00000087aeb8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #16 0x00000087aeb8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #17 0x0000008b02be in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3587 #18 0x00000087b2e6 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #19 0x00000088ff7e in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3003 #20 0x00000087b2e6 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #21 0x0000008b8239 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3977 #22 0x0000008f1a8b in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155 #23 0x0000008dc95b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 #24 0x00000087a80a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #25 0x000000893c8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #26 0x00000089798d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #27 0x00000087aeb8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #28 0x00000087aeb8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #29 0x0000008b8f32 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3995 #30 0x0000008f1a8b in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155 #31 0x0000008dc95b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 #32 0x00000087a80a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #33 0x000000893c8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #34 0x00000089798d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #35 0x0000008996f9 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #36 0x0000008996f9 in R_forceAndCall /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2467 #37 0x0000004a08c7 in do_lapply /data/localhost/ripley/R/svn/R-devel/src/main/apply.c:75 #38 0x000000ac0341 in do_internal /data/localhost/ripley/R/svn/R-devel/src/main/names.c:1425 #39 0x0000008fb7fc in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8175 #40 0x0000008dc95b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 #41 0x00000087a80a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #42 0x000000893c8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #43 0x00000089798d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #44 0x00000087aeb8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #45 0x00000087aeb8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #46 0x000000a26338 in Rf_ReplIteration /data/localhost/ripley/R/svn/R-devel/src/main/main.c:264 #47 0x000000a26338 in R_ReplConsole /data/localhost/ripley/R/svn/R-devel/src/main/main.c:319 #48 0x000000a440ba in run_Rmainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1239 #49 0x000000a44152 in Rf_mainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1246 #50 0x0000004123ff in main /data/localhost/ripley/R/svn/R-devel/src/main/Rmain.c:29 #51 0x7f128600a680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #52 0x7f128600a797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #53 0x000000412dc4 in _start (/data/localhost/ripley/R/gcc-SAN3/bin/exec/R+0x412dc4) (BuildId: b47a5227303ea569435ccb04c1118ed7dd9a15f1) 0x7c4282bc54b0 is located 8 bytes after 360-byte region [0x7c4282bc5340,0x7c4282bc54a8) allocated by thread T0 here: #0 0x7f12878f04ff in operator new(unsigned long) (/lib64/libasan.so.8+0xf04ff) (BuildId: fd074f20195c3dc106c8f366d4cbad1efb955954) #1 0x7b12698a5528 in std::__new_allocator, std::allocator >, long long> >::allocate(unsigned long, void const*) /usr/include/c++/16/bits/new_allocator.h:162 #2 0x7b12698a5528 in std::allocator, std::allocator >, long long> >::allocate(unsigned long) /usr/include/c++/16/bits/allocator.h:206 #3 0x7b12698a5528 in std::allocator_traits, std::allocator >, long long> > >::allocate(std::allocator, std::allocator >, long long> >&, unsigned long) /usr/include/c++/16/bits/alloc_traits.h:638 #4 0x7b12698a5528 in std::_Vector_base, std::allocator >, long long>, std::allocator, std::allocator >, long long> > >::_M_allocate(unsigned long) /usr/include/c++/16/bits/stl_vector.h:389 #5 0x7b12698a5528 in std::_Vector_base, std::allocator >, long long>, std::allocator, std::allocator >, long long> > >::_M_allocate(unsigned long) /usr/include/c++/16/bits/stl_vector.h:386 #6 0x7b12698a5528 in std::_Vector_base, std::allocator >, long long>, std::allocator, std::allocator >, long long> > >::_M_create_storage(unsigned long) /usr/include/c++/16/bits/stl_vector.h:407 #7 0x7b12698a5528 in std::_Vector_base, std::allocator >, long long>, std::allocator, std::allocator >, long long> > >::_Vector_base(unsigned long, std::allocator, std::allocator >, long long> > const&) /usr/include/c++/16/bits/stl_vector.h:341 #8 0x7b12698a5528 in std::vector, std::allocator >, long long>, std::allocator, std::allocator >, long long> > >::vector(unsigned long, std::allocator, std::allocator >, long long> > const&) /usr/include/c++/16/bits/stl_vector.h:577 #9 0x7b12698a5528 in OptiData::getNameIndexMap[abi:cxx11]() const Clusters/../DataStructures/OptiData.h:109 #10 0x7b1269b91ca1 in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/SensSpecCalc.cpp:20 #11 0x7b12698bcff1 in ClusterSplit::cluster(SplitClusterData*) const /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/ClusterSplit.cpp:206 #12 0x7b12698c41f5 in ClusterSplit::createProcesses(std::vector >&, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >&, unsigned long) /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/ClusterSplit.cpp:160 #13 0x7b12698d2bea in ClusterSplit::Execute() /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/ClusterSplit.cpp:41 #14 0x7b1269c197d9 in OptiSplit(Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, double, int, int, int, std::__cxx11::basic_string, std::allocator > const&, double, int, int, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/executeClusterMethods.cpp:322 #15 0x7b1269b8b100 in _clustur_OptiSplit /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/RcppExports.cpp:183 #16 0x00000075ed6f in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:842 #17 0x0000007646ca in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1454 #18 0x0000008f1a8b in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155 #19 0x0000008dc95b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 #20 0x00000087a80a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #21 0x000000893c8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #22 0x00000089798d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #23 0x00000087aeb8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #24 0x00000087aeb8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #25 0x0000008b02be in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3587 #26 0x00000087b2e6 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #27 0x00000088ff7e in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3003 #28 0x00000087b2e6 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #29 0x0000008b8239 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3977 #30 0x0000008f1a8b in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155 #31 0x0000008dc95b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 #32 0x00000087a80a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #33 0x000000893c8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #34 0x00000089798d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #35 0x00000087aeb8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #36 0x00000087aeb8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #37 0x0000008b8f32 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3995 #38 0x0000008f1a8b in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155 #39 0x0000008dc95b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 SUMMARY: AddressSanitizer: heap-buffer-overflow /data/localhost/ripley/R/packages/tests-gcc-SAN/clustur/src/SensSpecCalc.cpp:36 in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) Shadow bytes around the buggy address: 0x7c4282bc5200: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7c4282bc5280: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7c4282bc5300: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x7c4282bc5380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c4282bc5400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7c4282bc5480: 00 00 00 00 00 fa[fa]fa fa fa fa fa fa fa fa fa 0x7c4282bc5500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c4282bc5580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c4282bc5600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fa 0x7c4282bc5680: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x7c4282bc5700: 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 ==270623==ABORTING