* using log directory ‘/data/localhost/ripley/R/packages/tests-gcc-SAN/slca.Rcheck’ * using R Under development (unstable) (2026-10-23 r90751) * 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-10-23 11:02:50 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 ... [73s/214s] OK * 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 ... 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 ... [41s/186s] 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)) ================================================================= ==3412706==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7da9cd1eca58 at pc 0x7bf9c267daae bp 0x7ffe456351c0 sp 0x7ffe456351b8 READ of size 8 at 0x7da9cd1eca58 thread T0 #0 0x7bf9c267daad in upInit(int*, double const*, double*, int, int, int, int*) /data/localhost/ripley/R/packages/tests-gcc-SAN/slca/src/upward.cpp:14 #1 0x7bf9c26569cd 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-gcc-SAN/slca/src/calculate.cpp:108 #2 0x7bf9c262a17f in _slca_calcModel /data/localhost/ripley/R/packages/tests-gcc-SAN/slca/src/RcppExports.cpp:71 #3 0x00000075aed5 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:936 #4 0x0000007634da in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1437 #5 0x0000008ef85b in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #6 0x0000008da76b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #7 0x00000087869a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #8 0x000000891a8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #9 0x00000089578d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #10 0x000000abf556 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #11 0x000000abf556 in applyMethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:120 #12 0x000000ac3033 in dispatchMethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:473 #13 0x000000ac4fe5 in Rf_usemethod.isra.0 /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:513 #14 0x000000ac5da3 in do_usemethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:579 #15 0x0000008f95cc in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8170 #16 0x0000008da76b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #17 0x00000087869a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #18 0x000000891a8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #19 0x00000089578d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #20 0x000000878d48 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #21 0x000000878d48 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #22 0x7ff9d0270281 in eval_pipe_lazy /tmp/RtmpGKyrNW/R.INSTALLaa6cd64e34934/magrittr/src/pipe.c:186 #23 0x7ff9d0270281 in magrittr_pipe /tmp/RtmpGKyrNW/R.INSTALLaa6cd64e34934/magrittr/src/pipe.c:105 #24 0x0000007497ba in do_External /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:573 #25 0x0000008ef85b in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #26 0x0000008da76b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #27 0x00000087869a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #28 0x000000891a8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #29 0x00000089578d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #30 0x000000878d48 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #31 0x000000878d48 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #32 0x0000008ae0ce in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3585 #33 0x000000879176 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #34 0x000000a24078 in Rf_ReplIteration /data/localhost/ripley/R/svn/R-devel/src/main/main.c:264 #35 0x000000a24078 in R_ReplConsole /data/localhost/ripley/R/svn/R-devel/src/main/main.c:319 #36 0x000000a41d4a in run_Rmainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1239 #37 0x000000a41de2 in Rf_mainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1246 #38 0x0000004122ff in main /data/localhost/ripley/R/svn/R-devel/src/main/Rmain.c:29 #39 0x7ff9d080a680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #40 0x7ff9d080a797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #41 0x000000412cc4 in _start (/data/localhost/ripley/R/gcc-SAN3/bin/exec/R+0x412cc4) (BuildId: 8cc843a4369c67aacdc00c7b608b6686aa859755) 0x7da9cd1eca58 is located 0 bytes after 1496-byte region [0x7da9cd1ec480,0x7da9cd1eca58) allocated by thread T0 here: #0 0x7ff9d20ef41f in malloc (/lib64/libasan.so.8+0xef41f) (BuildId: 61e8165ca90f7a4f06b73f064a938c76deaae079) #1 0x000000a93960 in Rf_allocVector3 /data/localhost/ripley/R/svn/R-devel/src/main/memory.c:2897 #2 0x0000007b5eb4 in Rf_allocVector /data/localhost/ripley/R/svn/R-devel/src/include/Rinlinedfuns.h:609 #3 0x0000007b5eb4 in duplicate1 /data/localhost/ripley/R/svn/R-devel/src/main/duplicate.c:348 #4 0x0000008ece66 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8253 #5 0x0000008da76b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #6 0x00000087869a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #7 0x000000891a8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #8 0x00000089578d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #9 0x000000abf556 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #10 0x000000abf556 in applyMethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:120 #11 0x000000ac3033 in dispatchMethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:473 #12 0x000000ac4fe5 in Rf_usemethod.isra.0 /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:513 #13 0x000000ac5da3 in do_usemethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:579 #14 0x0000008f95cc in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8170 #15 0x0000008da76b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #16 0x00000087869a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #17 0x000000891a8a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #18 0x00000089578d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #19 0x000000878d48 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #20 0x000000878d48 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #21 0x7ff9d0270281 in eval_pipe_lazy /tmp/RtmpGKyrNW/R.INSTALLaa6cd64e34934/magrittr/src/pipe.c:186 #22 0x7ff9d0270281 in magrittr_pipe /tmp/RtmpGKyrNW/R.INSTALLaa6cd64e34934/magrittr/src/pipe.c:105 SUMMARY: AddressSanitizer: heap-buffer-overflow /data/localhost/ripley/R/packages/tests-gcc-SAN/slca/src/upward.cpp:14 in upInit(int*, double const*, double*, int, int, int, int*) Shadow bytes around the buggy address: 0x7da9cd1ec780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7da9cd1ec800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7da9cd1ec880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7da9cd1ec900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7da9cd1ec980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7da9cd1eca00: 00 00 00 00 00 00 00 00 00 00 00[fa]fa fa fa fa 0x7da9cd1eca80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7da9cd1ecb00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7da9cd1ecb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7da9cd1ecc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7da9cd1ecc80: 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 ==3412706==ABORTING * checking tests ... [68s/245s] OK Running ‘testthat.R’ [67s/242s] * DONE Status: 1 ERROR