* using log directory ‘/home/hornik/tmp/CRAN_special_clang-san/fastQR.Rcheck’ * using R Under development (unstable) (2026-01-20 r89309) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 21.1.8 (1) Debian flang version 21.1.8 (1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘fastQR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘fastQR’ version ‘1.1.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking serialization versions ... OK * checking whether package ‘fastQR’ can be installed ... [232s/232s] OK * used C++ compiler: ‘Debian clang version 21.1.8 (1+b1)’ * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [9s/9s] OK * checking Rd files ... [3s/3s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... [2s/2s] ERROR Running examples in ‘fastQR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: qr_fitted > ### Title: Compute fitted values from a QR decomposition > ### Aliases: qr_fitted > > ### ** Examples > > set.seed(1) > n <- 10; p <- 4 > X <- matrix(rnorm(n * p), n, p) > y <- rnorm(n) > > qr_res <- fastQR::qr_fast(X) > yhat1 <- fastQR::qr_fitted(qr = qr_res$qr, tau = qr_res$qraux, y = y) ================================================================= ==1609418==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7be369932648 at pc 0x7be3535724e6 bp 0x7ffd0a3923b0 sp 0x7ffd0a3923a8 READ of size 8 at 0x7be369932648 thread T0 #0 0x7be3535724e5 in Eigen::DenseStorage::rows() const /home/hornik/tmp/CRAN_special_clang-san/Library/RcppEigen/include/Eigen/src/Core/DenseStorage.h:472:69 #1 0x7be3535724e5 in Eigen::PlainObjectBase>::rows() const /home/hornik/tmp/CRAN_special_clang-san/Library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:143:58 #2 0x7be3535724e5 in Eigen::HouseholderSequence, Eigen::Matrix, 1>::rows() const /home/hornik/tmp/CRAN_special_clang-san/Library/RcppEigen/include/Eigen/src/Householder/HouseholderSequence.h:205:76 #3 0x7be3535724e5 in void Eigen::HouseholderSequence, Eigen::Matrix, 1>::applyThisOnTheLeft, Eigen::Matrix>(Eigen::Matrix&, Eigen::Matrix&, bool) const /home/hornik/tmp/CRAN_special_clang-san/Library/RcppEigen/include/Eigen/src/Householder/HouseholderSequence.h:408:28 #4 0x7be3536d40be in void Eigen::HouseholderSequence, Eigen::Matrix, 1>::applyThisOnTheLeft>(Eigen::Matrix&, bool) const /home/hornik/tmp/CRAN_special_clang-san/Library/RcppEigen/include/Eigen/src/Householder/HouseholderSequence.h:364:7 #5 0x7be3536d40be in Eigen::internal::matrix_type_times_scalar_type>::Type Eigen::HouseholderSequence, Eigen::Matrix, 1>::operator*>(Eigen::MatrixBase> const&) const /home/hornik/tmp/CRAN_special_clang-san/Library/RcppEigen/include/Eigen/src/Householder/HouseholderSequence.h:427:7 #6 0x7be3536d40be in qr_fitted_rank(Eigen::Matrix const&, Eigen::Matrix const&, Eigen::Matrix const&, int) /home/hornik/tmp/CRAN_special_clang-san/fastQR.Rcheck/00_pkg_src/fastQR/src/fastQRutils.cpp:361:34 #7 0x7be3534f2a0f in qr_fitted(Eigen::Matrix const&, Eigen::Matrix const&, Eigen::Matrix const&, Rcpp::Nullable) /home/hornik/tmp/CRAN_special_clang-san/fastQR.Rcheck/00_pkg_src/fastQR/src/QR_utils_wrap.cpp:1435:21 #8 0x7be3536aa0a7 in _fastQR_qr_fitted /home/hornik/tmp/CRAN_special_clang-san/fastQR.Rcheck/00_pkg_src/fastQR/src/RcppExports.cpp:195:34 #9 0x7fe36eb445cc in R_doDotCall /home/hornik/src/R/src/main/dotcode.c:763:11 #10 0x7fe36eced782 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8682:21 #11 0x7fe36ec9ba34 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #12 0x7fe36ec9a16f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #13 0x7fe36eca499b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #14 0x7fe36eca0293 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #15 0x7fe36ec9aaef in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #16 0x7fe36ec9aaef in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #17 0x7fe36ecb33f5 in do_set /home/hornik/src/R/src/main/eval.c:3581:8 #18 0x7fe36ec9a53b in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #19 0x7fe36eddf3f5 in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:264:15 #20 0x7fe36ede2550 in R_ReplConsole /home/hornik/src/R/src/main/main.c:317:11 #21 0x7fe36ede2364 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1235:5 #22 0x7fe36ede264a in Rf_mainloop /home/hornik/src/R/src/main/main.c:1242:5 #23 0x55e3a0d97004 in main /home/hornik/src/R/src/main/Rmain.c:29:5 #24 0x7fe36de29f74 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #25 0x7fe36de2a026 in __libc_start_main csu/../csu/libc-start.c:360:3 #26 0x55e3a0cac380 in _start (/home/hornik/tmp/R-d-clang-xtra/bin/exec/R+0x2c380) (BuildId: bc88c46ef9240773c07d57c927010d00876dfe01) Address 0x7be369932648 is located in stack of thread T0 at offset 584 in frame #0 0x7be3536d3b17 in qr_fitted_rank(Eigen::Matrix const&, Eigen::Matrix const&, Eigen::Matrix const&, int) /home/hornik/tmp/CRAN_special_clang-san/fastQR.Rcheck/00_pkg_src/fastQR/src/fastQRutils.cpp:341 This frame has 19 object(s): [32, 40) 'workspace' [64, 88) 'srcEvaluator' [128, 152) 'dstEvaluator' [192, 224) 'kernel' [256, 257) 'ref.tmp' [272, 280) 'workspace' [304, 328) 'srcEvaluator' [368, 376) 'dstEvaluator' [400, 432) 'kernel' [464, 465) 'ref.tmp' [480, 481) 'ref.tmp' [496, 536) 'Q' (line 359) [576, 600) 'ref.tmp' (line 359) <== Memory access at offset 584 is inside this variable [640, 696) 'ref.tmp' (line 359) [736, 752) 'ref.tmp' (line 359) [768, 784) 'Qty' (line 361) [800, 840) 'ref.tmp' (line 361) [880, 896) 'tmp' (line 362) [912, 968) 'ref.tmp' (line 363) HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-use-after-scope /home/hornik/tmp/CRAN_special_clang-san/Library/RcppEigen/include/Eigen/src/Core/DenseStorage.h:472:69 in Eigen::DenseStorage::rows() const Shadow bytes around the buggy address: 0x7be369932380: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x7be369932400: f1 f1 f1 f1 f8 f2 f2 f2 f8 f8 f8 f2 f2 f2 f2 f2 0x7be369932480: f8 f8 f8 f2 f2 f2 f2 f2 f8 f8 f8 f8 f2 f2 f2 f2 0x7be369932500: f8 f2 00 f2 f2 f2 f8 f8 f8 f2 f2 f2 f2 f2 f8 f2 0x7be369932580: f2 f2 f8 f8 f8 f8 f2 f2 f2 f2 f8 f2 f8 f2 00 00 =>0x7be369932600: 00 00 00 f2 f2 f2 f2 f2 f8[f8]f8 f2 f2 f2 f2 f2 0x7be369932680: f8 f8 f8 f8 f8 f8 f8 f2 f2 f2 f2 f2 f8 f8 f2 f2 0x7be369932700: 00 00 f2 f2 00 00 00 00 00 f2 f2 f2 f2 f2 f8 f8 0x7be369932780: f2 f2 f8 f8 f8 f8 f8 f8 f8 f3 f3 f3 f3 f3 f3 f3 0x7be369932800: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x7be369932880: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 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 ==1609418==ABORTING * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [7s/7s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR