* using log directory ‘/data/localhost/ripley/R/packages/tests-clang-ASAN/slca.Rcheck’ * using R Under development (unstable) (2026-10-23 r90751) * using platform: x86_64-pc-linux-gnu * R was compiled by clang version 23.1.4 flang version 23.1.4 * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-10-23 11:56:02 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘slca/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘slca’ version ‘1.4.1’ * 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 ‘slca’ can be installed ... [61s/109s] OK * used C++ compiler: ‘clang version 23.1.4’ * checking package directory ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking compiled code ... OK * checking examples ... [38s/99s] ERROR Running examples in ‘slca-Ex.R’ failed The error most likely occurred in: > ### Name: reorder.slcafit > ### Title: Reorder Latent Class Membership of Latent Class Variables > ### Aliases: reorder.slcafit > > ### ** Examples > > library(magrittr) > nlsy_jlcpa %>% param PI : (PROF) class 1 2 3 4 0.2790 0.2146 0.2869 0.2195 TAU : (A) parent child 1 2 3 4 1 0.0000 0.0000 0.1745 0.0000 2 0.0901 0.4456 0.1939 0.0403 3 0.3771 0.1675 0.1825 0.7018 4 0.2620 0.0000 0.0000 0.0813 5 0.2709 0.3869 0.4491 0.1766 parent PROF child SUB_98 (B) parent child 1 2 3 4 1 0.0000 0.0114 0.8719 0.0000 2 0.0000 0.9617 0.0000 0.0079 3 0.0000 0.0000 0.0965 0.9210 4 0.9941 0.0000 0.0000 0.0711 5 0.0059 0.0269 0.0316 0.0000 parent PROF child SUB_03 (C) parent child 1 2 3 4 1 0.0019 0.1821 0.8024 0.0319 2 0.0097 0.7202 0.0000 0.0000 3 0.0573 0.0442 0.1844 0.7168 4 0.9311 0.0356 0.0084 0.2473 5 0.0000 0.0179 0.0048 0.0040 parent PROF child SUB_08 (D) parent child 1 2 3 4 5 1 0.0254 0.0457 0.9505 0.7958 0.1613 2 0.7516 0.6690 0.0051 0.0000 0.1631 3 0.2230 0.2853 0.0444 0.2042 0.6755 parent SUB_98 SUB_03 SUB_08 child SMK_98 SMK_03 SMK_08 (E) parent child 1 2 3 4 5 1 0.5664 0.8533 0.0335 0.7521 0.2872 2 0.2229 0.1264 0.2589 0.2414 0.6127 3 0.2107 0.0203 0.7075 0.0065 0.1001 parent SUB_98 SUB_03 SUB_08 child DRK_98 DRK_03 DRK_08 (F) parent child 1 2 3 4 5 1 0.0871 0.1442 0.0317 0.1525 0.7278 2 0.0617 0.8387 0.0095 0.2302 0.1258 3 0.8512 0.0170 0.9588 0.6173 0.1463 parent SUB_98 SUB_03 SUB_08 child MRJ_98 MRJ_03 MRJ_08 RHO : (a) class response 1 2 3 1(V1) 0.0134 1.0000 1.0000 2 0.9866 0.0000 0.0000 1(V2) 0.0000 1.0000 0.6701 2 1.0000 0.0000 0.3299 1(V3) 0.0000 0.8833 0.0000 2 1.0000 0.1167 1.0000 1(V4) 0.0000 0.6460 0.0000 2 1.0000 0.3540 1.0000 V1 V2 V3 V4 SMK_98 ESMK_98 FSMK_98 DSMK_98 HSMK_98 SMK_03 ESMK_03 FSMK_03 DSMK_03 HSMK_03 SMK_08 ESMK_08 FSMK_08 DSMK_08 HSMK_08 (b) class response 1 2 3 1(V1) 1.0000 1.0000 0.0759 2 0.0000 0.0000 0.9241 1(V2) 1.0000 0.5760 0.0000 2 0.0000 0.4240 1.0000 1(V3) 0.6934 0.0000 0.0000 2 0.3066 1.0000 1.0000 1(V4) 0.8061 0.0000 0.0000 2 0.1939 1.0000 1.0000 V1 V2 V3 V4 DRK_98 EDRK_98 CDRK_98 WDRK_98 BDRK_98 DRK_03 EDRK_03 CDRK_03 WDRK_03 BDRK_03 DRK_08 EDRK_08 CDRK_08 WDRK_08 BDRK_08 (c) class response 1 2 3 1(V1) 0.5189 1.0000 0.0002 2 0.4811 0.0000 0.9998 1(V2) 0.0000 1.0000 0.0000 2 1.0000 0.0000 1.0000 1(V3) 0.0000 0.5259 0.0000 2 1.0000 0.4741 1.0000 1(V4) 0.0000 0.3720 0.0000 2 1.0000 0.6280 1.0000 V1 V2 V3 V4 MRJ_98 EMRJ_98 CMRJ_98 OMRJ_98 SMRJ_98 MRJ_03 EMRJ_03 CMRJ_03 OMRJ_03 SMRJ_03 MRJ_08 EMRJ_08 CMRJ_08 OMRJ_08 SMRJ_08 > > # Reorder the RHO parameters as ascending order > reordered1 <- nlsy_jlcpa %>% + reorder(SMK_98 = c(1, 3, 2), + DRK_98 = c(3, 2, 1), + MRJ_98 = c(3, 1, 2)) ================================================================= ==4093912==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7d968f3ec358 at pc 0x7be684b7ed23 bp 0x7fffd72599c0 sp 0x7fffd72599b8 READ of size 8 at 0x7d968f3ec358 thread T0 #0 0x7be684b7ed22 in upInit(int*, double const*, double*, int, int, int, int*) /data/localhost/ripley/R/packages/tests-clang-ASAN/slca/src/upward.cpp:14:29 #1 0x7be684b501fc in calcModel(Rcpp::Vector<13, Rcpp::PreserveStorage>, int, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<10, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, int, int, int, int, int, int, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>) /data/localhost/ripley/R/packages/tests-clang-ASAN/slca/src/calculate.cpp:108:7 #2 0x7be684b2e061 in _slca_calcModel /data/localhost/ripley/R/packages/tests-clang-ASAN/slca/src/RcppExports.cpp:71:34 #3 0x55764959a2f9 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c #4 0x55764959fa45 in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1437:11 #5 0x55764965024a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #6 0x557649643854 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #7 0x557649641de1 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #8 0x55764968a57c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #9 0x557649689738 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #10 0x557649644e9e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #11 0x557649750ea4 in dispatchMethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:473:16 #12 0x55764974f9b4 in Rf_usemethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:513:10 #13 0x557649752104 in do_usemethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:579:9 #14 0x557649655a53 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8170:15 #15 0x557649643854 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #16 0x557649641de1 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #17 0x55764968a57c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #18 0x557649689738 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #19 0x557649644e9e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #20 0x557649642808 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #21 0x7fe690ab2d3e in magrittr_pipe (/data/localhost/ripley/R/test-clang/magrittr/libs/magrittr.so+0xd3e) #22 0x55764958b4d5 in do_External /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:573:11 #23 0x55764965024a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #24 0x557649643854 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #25 0x557649641de1 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #26 0x55764968a57c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #27 0x557649689738 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #28 0x557649644e9e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #29 0x557649642808 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #30 0x55764969b6a5 in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3585:8 #31 0x557649642320 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #32 0x557649713d11 in Rf_ReplIteration /data/localhost/ripley/R/svn/R-devel/src/main/main.c:264:23 #33 0x557649716540 in R_ReplConsole /data/localhost/ripley/R/svn/R-devel/src/main/main.c:319:11 #34 0x557649716540 in run_Rmainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1239:5 #35 0x5576497165d2 in Rf_mainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1246:5 #36 0x557649414a9c in main /data/localhost/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 #37 0x7fe692d0b680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #38 0x7fe692d0b797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #39 0x5576493247d4 in _start (/data/localhost/ripley/R/clang-ASAN/bin/exec/R+0x17d4) 0x7d968f3ec358 is located 0 bytes after 1496-byte region [0x7d968f3ebd80,0x7d968f3ec358) allocated by thread T0 here: #0 0x5576493d2e44 in malloc /data/localhost/ripley/Sources/LLVM/23/latest/compiler-rt/lib/asan/asan_malloc_linux.cpp:109:3 #1 0x55764971ed5d in Rf_allocVector3 /data/localhost/ripley/R/svn/R-devel/src/main/memory.c:2897:7 #2 0x5576495cdb12 in Rf_allocVector /data/localhost/ripley/R/svn/R-devel/src/include/Rinlinedfuns.h:609:12 #3 0x5576495cdb12 in duplicate1 /data/localhost/ripley/R/svn/R-devel/src/main/duplicate.c:348:19 #4 0x55764965cbbb in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8253:14 #5 0x557649643854 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #6 0x557649641de1 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #7 0x55764968a57c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #8 0x557649689738 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #9 0x557649644e9e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #10 0x557649750ea4 in dispatchMethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:473:16 #11 0x55764974f9b4 in Rf_usemethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:513:10 #12 0x557649752104 in do_usemethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:579:9 #13 0x557649655a53 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8170:15 #14 0x557649643854 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #15 0x557649641de1 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #16 0x55764968a57c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #17 0x557649689738 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #18 0x557649644e9e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #19 0x557649642808 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #20 0x7fe690ab2d3e in magrittr_pipe (/data/localhost/ripley/R/test-clang/magrittr/libs/magrittr.so+0xd3e) SUMMARY: AddressSanitizer: heap-buffer-overflow /data/localhost/ripley/R/packages/tests-clang-ASAN/slca/src/upward.cpp:14:29 in upInit(int*, double const*, double*, int, int, int, int*) Shadow bytes around the buggy address: 0x7d968f3ec080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d968f3ec100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d968f3ec180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d968f3ec200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d968f3ec280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7d968f3ec300: 00 00 00 00 00 00 00 00 00 00 00[fa]fa fa fa fa 0x7d968f3ec380: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d968f3ec400: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d968f3ec480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d968f3ec500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d968f3ec580: 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 ==4093912==ABORTING * checking tests ... [76s/135s] OK Running ‘testthat.R’ [75s/134s] * DONE Status: 1 ERROR