* using log directory ‘/data/localhost/ripley/R/packages/tests-gcc-SAN/ICESat2VegR.Rcheck’ * using R Under development (unstable) (2026-09-28 r90591) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) GNU Fortran (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-09-28 16:42:54 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘ICESat2VegR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘ICESat2VegR’ version ‘0.0.3’ * package encoding: UTF-8 * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package ‘ICESat2VegR’ can be installed ... [186s/144s] OK * used C compiler: ‘gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)’ * used C++ compiler: ‘g++ (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)’ * checking package directory ... OK * checking whether the package can be loaded ... [21s/21s] OK * checking whether the package can be loaded with stated dependencies ... [20s/20s] OK * checking whether the package can be unloaded cleanly ... [20s/20s] OK * checking whether the namespace can be loaded with stated dependencies ... [20s/21s] OK * checking whether the namespace can be unloaded cleanly ... [20s/21s] OK * checking loading without being on the library search path ... [21s/21s] OK * checking compiled code ... OK * checking examples ... [116s/116s] ERROR Running examples in ‘ICESat2VegR-Ex.R’ failed The error most likely occurred in: > ### Name: spacedSampling > ### Title: Get observations with a minimum radius distance between samples > ### Aliases: spacedSampling > > ### ** Examples > > if (requireNamespace("hdf5r", quietly = TRUE)) { + atl08_path <- system.file("extdata", "atl08_clip.h5", package = "ICESat2VegR") + atl08_h5 <- ATL08_read(atl08_path = atl08_path) + atl08_dt <- ATL08_seg_attributes_dt(atl08_h5) + + # Sample up to 5 observations with minimum 0.01 degree spacing + set.seed(1) + sampled <- ICESat2VegR::sample( + atl08_dt, + method = spacedSampling(size = 5, radius = 0.01) + ) + head(sampled) + + close(atl08_h5) + } | | | 0% | |======================================================================| 100% ================================================================= ==1866847==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new [] vs operator delete) on 0x7b80f56c42d0 #0 0x7f40fa4f13bf in operator delete(void*, unsigned long) (/lib64/libasan.so.8+0xf13bf) (BuildId: 61e8165ca90f7a4f06b73f064a938c76deaae079) #1 0x7b3ff564800b in ANNIndex::~ANNIndex() /data/localhost/ripley/R/packages/tests-gcc-SAN/ICESat2VegR/src/ANNIndex.cpp:22 #2 0x7b3ff5768731 in ANNIndex::~ANNIndex() /data/localhost/ripley/R/packages/tests-gcc-SAN/ICESat2VegR/src/ANNIndex.cpp:27 #3 0x7b3ff5768731 in void Rcpp::standard_delete_finalizer(ANNIndex*) /data/localhost/ripley/R/test-dev/Rcpp/include/Rcpp/XPtr.h:31 #4 0x7b3ff5768731 in void Rcpp::finalizer_wrapper(ANNIndex*))>(SEXPREC*) /data/localhost/ripley/R/test-dev/Rcpp/include/Rcpp/module/class.h:38 #5 0x7b3ff5768731 in void Rcpp::finalizer_wrapper(ANNIndex*))>(SEXPREC*) /data/localhost/ripley/R/test-dev/Rcpp/include/Rcpp/XPtr.h:35 #6 0x000000a352cb in R_RunWeakRefFinalizer /data/localhost/ripley/R/svn/R-devel/src/main/memory.c:1522 #7 0x000000a3ff16 in RunFinalizers.isra.0 /data/localhost/ripley/R/svn/R-devel/src/main/memory.c:1589 #8 0x000000a94d04 in R_RunPendingFinalizers /data/localhost/ripley/R/svn/R-devel/src/main/memory.c:1625 #9 0x000000a94d04 in R_gc /data/localhost/ripley/R/svn/R-devel/src/main/memory.c:3094 #10 0x000000a94d04 in do_gc /data/localhost/ripley/R/svn/R-devel/src/main/memory.c:2131 #11 0x0000008ed91b in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #12 0x0000008d882b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #13 0x000000878a5a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #14 0x00000088f26a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #15 0x000000892f6d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #16 0x000000879108 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #17 0x000000879108 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #18 0x00000088d8ce in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3001 #19 0x000000879536 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #20 0x00000088f26a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #21 0x000000892f6d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #22 0x000000879108 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #23 0x000000879108 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #24 0x00000088d8ce in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3001 #25 0x000000879536 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #26 0x00000094485a in forcePromise.part.0.lto_priv.0 /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:976 #27 0x0000008c595f in forcePromise /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:956 #28 0x0000008c595f in getvar /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:5867 #29 0x0000008fad14 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7880 #30 0x0000008d882b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #31 0x000000878a5a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #32 0x00000088f26a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #33 0x000000892f6d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #34 0x000000879108 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #35 0x000000879108 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #36 0x00000088d8ce in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3001 #37 0x000000879536 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #38 0x000000879536 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #39 0x00000088d8ce in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3001 #40 0x000000879536 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #41 0x00000088f26a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #42 0x000000892f6d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #43 0x00000089474b in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #44 0x0000008ff887 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8121 #45 0x0000008d882b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #46 0x000000878a5a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #47 0x00000088f26a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #48 0x000000897951 in R_execMethod /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2567 #49 0x7f40f5d49739 in R_dispatchGeneric /data/localhost/ripley/R/svn/R-devel/src/library/methods/src/methods_list_dispatch.c:1153 #50 0x000000ad4cde in do_standardGeneric /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:1348 #51 0x000000879a57 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1262 #52 0x00000088f26a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #53 0x000000892f6d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #54 0x000000879108 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #55 0x000000879108 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #56 0x00000088d8ce in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3001 #57 0x000000879536 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #58 0x000000879536 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #59 0x000000a219f8 in Rf_ReplIteration /data/localhost/ripley/R/svn/R-devel/src/main/main.c:264 #60 0x000000a219f8 in R_ReplConsole /data/localhost/ripley/R/svn/R-devel/src/main/main.c:319 #61 0x000000a3f6ba in run_Rmainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1239 #62 0x000000a3f752 in Rf_mainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1246 #63 0x0000004120cf in main /data/localhost/ripley/R/svn/R-devel/src/main/Rmain.c:29 #64 0x7f40f8c0a680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 5bd941be836f538fe5e10eff508f7f5dd94905a6) #65 0x7f40f8c0a797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 5bd941be836f538fe5e10eff508f7f5dd94905a6) #66 0x000000412a94 in _start (/data/localhost/ripley/R/gcc-SAN3/bin/exec/R+0x412a94) (BuildId: 44bcf9bbcb336afc5bd18b3dc6b89dc77f2ee5f9) 0x7b80f56c42d0 is located 0 bytes inside of 36-byte region [0x7b80f56c42d0,0x7b80f56c42f4) allocated by thread T0 here: #0 0x7f40fa4f065f in operator new[](unsigned long) (/lib64/libasan.so.8+0xf065f) (BuildId: 61e8165ca90f7a4f06b73f064a938c76deaae079) #1 0x7b3ff564dad0 in ANNIndex::ANNIndex(Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, int) /data/localhost/ripley/R/packages/tests-gcc-SAN/ICESat2VegR/src/ANNIndex.cpp:16 #2 0x7b3ff5770e85 in ANNIndex* Rcpp::Constructor, Rcpp::Vector<14, Rcpp::PreserveStorage> >::get_new_impl<0, 1>(SEXPREC**, int, Rcpp::traits::index_sequence<0, 1>) /data/localhost/ripley/R/test-dev/Rcpp/include/Rcpp/Module.h:209 #3 0x7b3ff5770e85 in Rcpp::Constructor, Rcpp::Vector<14, Rcpp::PreserveStorage> >::get_new(SEXPREC**, int) /data/localhost/ripley/R/test-dev/Rcpp/include/Rcpp/Module.h:199 #4 0x7b3ff5770e85 in Rcpp::class_::newInstance(SEXPREC**, int) /data/localhost/ripley/R/test-dev/Rcpp/include/Rcpp/module/class.h:138 #5 0x7b40f28d0d88 in class__newInstance(SEXPREC*) /tmp/Rtmpyd9vpr/R.INSTALL3b61c41e95a0d8/Rcpp/src/module.cpp:143 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch /data/localhost/ripley/R/packages/tests-gcc-SAN/ICESat2VegR/src/ANNIndex.cpp:22 in ANNIndex::~ANNIndex() ==1866847==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==1866847==ABORTING * checking tests ... [64s/65s] OK Running ‘testthat.R’ [64s/64s] * DONE Status: 1 ERROR