Package check result: ERROR Check: tests, Result: ERROR Running ‘testthat.R’ [8s/8s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(SuperLearner) Loading required package: nnls Loading required package: gam Loading required package: splines Loading required package: foreach Loaded gam 1.22-7 Super Learner Version: 2.0-40 Package created on 2025-12-14 > > test_check("SuperLearner") ================================================================= ==3614599==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7df910be6818 at pc 0x7ba8ea9b6c7c bp 0x7ffea03af8f0 sp 0x7ffea03af8e8 READ of size 8 at 0x7df910be6818 thread T0 #0 0x7ba8ea9b6c7b in regRF /home/hornik/tmp/scratch/RtmpUmcWE8/R.INSTALL36a66b623a7e15/randomForest/src/regrf.c:115:21 #1 0x7fa90739e210 in do_dotCode /home/hornik/src/R/src/main/dotcode.c #2 0x7fa9074e3f16 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8114:14 #3 0x7fa907498a54 in bcEval /home/hornik/src/R/src/main/eval.c:7497:16 #4 0x7fa90749718f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #5 0x7fa9074a19bb in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #6 0x7fa90749d2b3 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #7 0x7fa90749b530 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #8 0x7fa9076360b9 in dispatchMethod /home/hornik/src/R/src/main/objects.c:473:16 #9 0x7fa9076343c3 in Rf_usemethod /home/hornik/src/R/src/main/objects.c:513:10 #10 0x7fa907637195 in do_usemethod /home/hornik/src/R/src/main/objects.c:579:9 #11 0x7fa9074d5601 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8134:15 #12 0x7fa907498a54 in bcEval /home/hornik/src/R/src/main/eval.c:7497:16 #13 0x7fa90749718f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #14 0x7fa9074a19bb in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #15 0x7fa90749d2b3 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #16 0x7fa907497b0f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #17 0x7fa907497b0f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #18 0x7fa90726096d in do_docall /home/hornik/src/R/src/main/coerce.c:2789:12 #19 0x7fa9074e3f16 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8114:14 #20 0x7fa907498a54 in bcEval /home/hornik/src/R/src/main/eval.c:7497:16 #21 0x7fa90749718f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #22 0x7fa9074a19bb in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #23 0x7fa90749d2b3 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #24 0x7fa90749f0ff in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #25 0x7fa90749f0ff in R_forceAndCall /home/hornik/src/R/src/main/eval.c:2456:8 #26 0x7fa90714f210 in do_lapply /home/hornik/src/R/src/main/apply.c:75:8 #27 0x7fa90762cb59 in do_internal /home/hornik/src/R/src/main/names.c:1411:11 #28 0x7fa9074d5601 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8134:15 #29 0x7fa907498a54 in bcEval /home/hornik/src/R/src/main/eval.c:7497:16 #30 0x7fa90749718f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #31 0x7fa9074a19bb in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #32 0x7fa90749d2b3 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #33 0x7fa907497b0f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #34 0x7fa907497b0f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #35 0x7fa9074b0415 in do_set /home/hornik/src/R/src/main/eval.c:3563:8 #36 0x7fa90749755b in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #37 0x7fa9074ac0b2 in do_begin /home/hornik/src/R/src/main/eval.c:2992:10 #38 0x7fa90749755b in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #39 0x7fa90749755b in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #40 0x7fa9074b645a in do_eval /home/hornik/src/R/src/main/eval.c:3955:9 #41 0x7fa9074e3f16 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8114:14 #42 0x7fa907498a54 in bcEval /home/hornik/src/R/src/main/eval.c:7497:16 #43 0x7fa90749718f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #44 0x7fa9074a19bb in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #45 0x7fa90749d2b3 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #46 0x7fa90749f0ff in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #47 0x7fa90749f0ff in R_forceAndCall /home/hornik/src/R/src/main/eval.c:2456:8 #48 0x7fa90714f210 in do_lapply /home/hornik/src/R/src/main/apply.c:75:8 #49 0x7fa90762cb59 in do_internal /home/hornik/src/R/src/main/names.c:1411:11 #50 0x7fa9074d5601 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8134:15 #51 0x7fa907498a54 in bcEval /home/hornik/src/R/src/main/eval.c:7497:16 #52 0x7fa90749718f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #53 0x7fa9074a19bb in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #54 0x7fa90749d2b3 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #55 0x7fa907497b0f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #56 0x7fa907497b0f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #57 0x7fa9075dc075 in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:264:15 #58 0x7fa9075df1d0 in R_ReplConsole /home/hornik/src/R/src/main/main.c:317:11 #59 0x7fa9075defe4 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1235:5 #60 0x7fa9075df2ca in Rf_mainloop /home/hornik/src/R/src/main/main.c:1242:5 #61 0x55d1b6be7004 in main /home/hornik/src/R/src/main/Rmain.c:29:5 #62 0x7fa906629f67 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #63 0x7fa90662a024 in __libc_start_main csu/../csu/libc-start.c:360:3 #64 0x55d1b6afc380 in _start (/home/hornik/tmp/R-d-clang-xtra/bin/exec/R+0x2c380) (BuildId: de04d262fa9991c0189944a15282f14ac50e0142) 0x7df910be6818 is located 0 bytes after 7960-byte region [0x7df910be4900,0x7df910be6818) allocated by thread T0 here: #0 0x55d1b6ba1928 in malloc (/home/hornik/tmp/R-d-clang-xtra/bin/exec/R+0xd1928) (BuildId: de04d262fa9991c0189944a15282f14ac50e0142) #1 0x7fa9075f23f9 in GetNewPage /home/hornik/src/R/src/main/memory.c:998:12 #2 0x7fa9075f86df in Rf_allocVector3 /home/hornik/src/R/src/main/memory.c:2717:6 #3 0x7fa907531765 in Rf_allocVector /home/hornik/src/R/src/include/Rinlinedfuns.h:609:12 #4 0x7fa907531765 in Rf_ScalarInteger /home/hornik/src/R/src/include/Rinlinedfuns.h:1020:16 #5 0x7fa907531765 in GETSTACK_PTR_TAG /home/hornik/src/R/src/main/eval.c:4767:10 #6 0x7fa907539a50 in MATSUBSET_PTR /home/hornik/src/R/src/main/eval.c:6456:11 #7 0x7fa9074dccec in bcEval_loop /home/hornik/src/R/src/main/eval.c:8340:23 #8 0x7fa907498a54 in bcEval /home/hornik/src/R/src/main/eval.c:7497:16 #9 0x7fa90749718f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #10 0x7fa907499097 in forcePromise /home/hornik/src/R/src/main/eval.c:976:13 #11 0x7fa907533f18 in getvar /home/hornik/src/R/src/main/eval.c:5831:6 #12 0x7fa907503e9d in bcEval_loop /home/hornik/src/R/src/main/eval.c:8392:27 #13 0x7fa907498a54 in bcEval /home/hornik/src/R/src/main/eval.c:7497:16 #14 0x7fa90749718f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #15 0x7fa9074a19bb in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #16 0x7fa90749d2b3 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #17 0x7fa90749f0ff in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #18 0x7fa90749f0ff in R_forceAndCall /home/hornik/src/R/src/main/eval.c:2456:8 #19 0x7fa90714f210 in do_lapply /home/hornik/src/R/src/main/apply.c:75:8 #20 0x7fa90762cb59 in do_internal /home/hornik/src/R/src/main/names.c:1411:11 #21 0x7fa9074d5601 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8134:15 #22 0x7fa907498a54 in bcEval /home/hornik/src/R/src/main/eval.c:7497:16 #23 0x7fa90749718f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #24 0x7fa9074a19bb in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #25 0x7fa90749d2b3 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #26 0x7fa907497b0f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #27 0x7fa907497b0f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #28 0x7fa90749961b in Rf_evalList /home/hornik/src/R/src/main/eval.c:3661:12 #29 0x7fa90749772f in Rf_eval /home/hornik/src/R/src/main/eval.c:1251:6 #30 0x7fa9074a4df7 in do_if /home/hornik/src/R/src/main/eval.c:2700:5 #31 0x7fa90749755b in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #32 0x7fa9074b645a in do_eval /home/hornik/src/R/src/main/eval.c:3955:9 #33 0x7fa9074e3f16 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8114:14 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpUmcWE8/R.INSTALL36a66b623a7e15/randomForest/src/regrf.c:115:21 in regRF Shadow bytes around the buggy address: 0x7df910be6580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7df910be6600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7df910be6680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7df910be6700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7df910be6780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7df910be6800: 00 00 00[fa]fa fa fa fa fa fa fa fa fa fa fa fa 0x7df910be6880: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7df910be6900: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7df910be6980: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7df910be6a00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7df910be6a80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 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 ==3614599==ABORTING Post-processing issues found: File: tests/testthat.Rout.fail ==3614599==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7df910be6818 at pc 0x7ba8ea9b6c7c bp 0x7ffea03af8f0 sp 0x7ffea03af8e8 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpUmcWE8/R.INSTALL36a66b623a7e15/randomForest/src/regrf.c:115:21 in regRF ASan internal: fe File: 00check.log ==3614599==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7df910be6818 at pc 0x7ba8ea9b6c7c bp 0x7ffea03af8f0 sp 0x7ffea03af8e8 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpUmcWE8/R.INSTALL36a66b623a7e15/randomForest/src/regrf.c:115:21 in regRF ASan internal: fe