* using log directory ‘/Users/ripley/R/packages/tests-SAN/fastglm.Rcheck’ * using R Under development (unstable) (2026-10-30 r90804) * using platform: aarch64-apple-darwin27.2.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.3.34.1) GNU Fortran (GCC) 14.2.0 * running under: macOS Golden Gate 27.2 * using session charset: UTF-8 * current time: 2026-11-09 11:52:48 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘fastglm/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘fastglm’ version ‘0.1.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 ‘fastglm’ can be installed ... [451s/165s] OK * used C++ compiler: ‘Apple clang version 21.0.0 (clang-2100.4.1.1)’ * used SDK: ‘MacOSX27.3.sdk’ * checking C++ specification ... INFO specified C++17 * 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 pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking tests ... [107s/108s] ERROR Running ‘testthat.R’ [107s/108s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(fastglm) > > test_check("fastglm") /Users/ripley/R/Library/RcppEigen/include/Eigen/src/Core/Block.h:347:25: runtime error: applying non-zero offset 8 to null pointer #0 0x000113fac240 in Eigen::internal::BlockImpl_dense const, 1, -1, false, true>::BlockImpl_dense(Eigen::Matrix const&, long) Block.h:347 #1 0x00011442c744 in Eigen::BlockImpl const, 1, -1, false, Eigen::Dense>::BlockImpl(Eigen::Matrix const&, long) Block.h:162 #2 0x00011442c744 in Eigen::Block const, 1, -1, false>::Block(Eigen::Matrix const&, long) Block.h:118 #3 0x00011442c744 in Eigen::Block const, 1, -1, false>::Block(Eigen::Matrix const&, long) Block.h:119 #4 0x00011442c744 in Eigen::DenseBase>::row(long) const BlockMethods.h:1127 #5 0x00011442c744 in fglm_ordinal_constrained::positive_rows(Eigen::Matrix const&, Rcpp::Vector<10, Rcpp::PreserveStorage> const&) ordinal_constrained.h:23 #6 0x00011442cf58 in ordinal_partial_constrained_native(Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<10, Rcpp::PreserveStorage>, bool, int, double, int, int, double, double, double, int) fit_ordinal_partial.cpp:50 #7 0x000113e8b6cc in _fastglm_ordinal_partial_constrained_native RcppExports.cpp:660 #8 0x000104755d40 in R_doDotCall dotcode.c #9 0x0001047e4a20 in do_dotcall dotcode.c:1437 #10 0x000104995434 in bcEval_loop eval.c:8154 #11 0x000104940cb8 in bcEval eval.c:7537 #12 0x00010493ed50 in Rf_eval eval.c:1167 #13 0x0001049492fc in R_execClosure eval.c:2400 #14 0x0001049448fc in applyClosure_core eval.c:2316 #15 0x000104942a64 in Rf_applyClosure eval.c:2335 #16 0x000104b25cf8 in dispatchMethod objects.c:473 #17 0x000104b23a9c in Rf_usemethod objects.c:513 #18 0x000104b26f84 in do_usemethod objects.c:579 #19 0x0001049838fc in bcEval_loop eval.c:8174 #20 0x000104940cb8 in bcEval eval.c:7537 #21 0x00010493ed50 in Rf_eval eval.c:1167 #22 0x0001049492fc in R_execClosure eval.c:2400 #23 0x0001049448fc in applyClosure_core eval.c:2316 #24 0x000104942a64 in Rf_applyClosure eval.c:2335 #25 0x00010493f778 in Rf_eval eval.c:1278 #26 0x000104941108 in forcePromise eval.c:976 #27 0x0001049fcbe4 in getvar eval.c:5869 #28 0x0001049b68f0 in bcEval_loop eval.c:7884 #29 0x000104940cb8 in bcEval eval.c:7537 #30 0x00010493ed50 in Rf_eval eval.c:1167 #31 0x0001049492fc in R_execClosure eval.c:2400 #32 0x0001049448fc in applyClosure_core eval.c:2316 #33 0x000104942a64 in Rf_applyClosure eval.c:2335 #34 0x00010493f778 in Rf_eval eval.c:1278 #35 0x00010473bcfc in do_External dotcode.c:573 #36 0x000104995434 in bcEval_loop eval.c:8154 #37 0x000104940cb8 in bcEval eval.c:7537 #38 0x00010493ed50 in Rf_eval eval.c:1167 #39 0x0001049492fc in R_execClosure eval.c:2400 #40 0x0001049448fc in applyClosure_core eval.c:2316 #41 0x000104942a64 in Rf_applyClosure eval.c:2335 #42 0x00010493f778 in Rf_eval eval.c:1278 #43 0x000104953bb0 in do_begin eval.c:3003 #44 0x00010493f1ac in Rf_eval eval.c:1230 #45 0x00010495df34 in do_eval eval.c:3977 #46 0x000104995434 in bcEval_loop eval.c:8154 #47 0x000104940cb8 in bcEval eval.c:7537 #48 0x00010493ed50 in Rf_eval eval.c:1167 #49 0x0001049492fc in R_execClosure eval.c:2400 #50 0x0001049448fc in applyClosure_core eval.c:2316 #51 0x000104942a64 in Rf_applyClosure eval.c:2335 #52 0x00010493f778 in Rf_eval eval.c:1278 #53 0x00010495e400 in do_eval eval.c:3995 #54 0x000104995434 in bcEval_loop eval.c:8154 #55 0x000104940cb8 in bcEval eval.c:7537 #56 0x00010493ed50 in Rf_eval eval.c:1167 #57 0x0001049492fc in R_execClosure eval.c:2400 #58 0x0001049448fc in applyClosure_core eval.c:2316 #59 0x0001049466f0 in Rf_applyClosure eval.c:2335 #60 0x0001049466f0 in R_forceAndCall eval.c:2467 #61 0x000104551f80 in do_lapply apply.c:75 #62 0x000104b1bf60 in do_internal names.c:1425 #63 0x0001049838fc in bcEval_loop eval.c:8174 #64 0x000104940cb8 in bcEval eval.c:7537 #65 0x00010493ed50 in Rf_eval eval.c:1167 #66 0x0001049492fc in R_execClosure eval.c:2400 #67 0x0001049448fc in applyClosure_core eval.c:2316 #68 0x000104942a64 in Rf_applyClosure eval.c:2335 #69 0x00010493f778 in Rf_eval eval.c:1278 #70 0x000104a9f2f4 in Rf_ReplIteration main.c:264 #71 0x000104aa3604 in R_ReplConsole main.c:319 #72 0x000104aa3418 in run_Rmainloop main.c:1239 #73 0x000104aa3700 in Rf_mainloop main.c:1246 #74 0x000102f3d5f0 in main Rmain.c:29 #75 0x000194a90d78 in start+0x19f8 (dyld:arm64e+0x31d78) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/ripley/R/Library/RcppEigen/include/Eigen/src/Core/Block.h:347:25 /Users/ripley/R/Library/RcppEigen/include/Eigen/src/Core/Block.h:347:25: runtime error: applying non-zero offset 8 to null pointer #0 0x000113f028e8 in Eigen::internal::BlockImpl_dense, 1, -1, false, true>::BlockImpl_dense(Eigen::Matrix&, long) Block.h:347 #1 0x00011442c768 in Eigen::BlockImpl, 1, -1, false, Eigen::Dense>::BlockImpl(Eigen::Matrix&, long) Block.h:162 #2 0x00011442c768 in Eigen::Block, 1, -1, false>::Block(Eigen::Matrix&, long) Block.h:118 #3 0x00011442c768 in Eigen::Block, 1, -1, false>::Block(Eigen::Matrix&, long) Block.h:119 #4 0x00011442c768 in Eigen::DenseBase>::row(long) BlockMethods.h:1120 #5 0x00011442c768 in fglm_ordinal_constrained::positive_rows(Eigen::Matrix const&, Rcpp::Vector<10, Rcpp::PreserveStorage> const&) ordinal_constrained.h:23 #6 0x00011442cf58 in ordinal_partial_constrained_native(Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<10, Rcpp::PreserveStorage>, bool, int, double, int, int, double, double, double, int) fit_ordinal_partial.cpp:50 #7 0x000113e8b6cc in _fastglm_ordinal_partial_constrained_native RcppExports.cpp:660 #8 0x000104755d40 in R_doDotCall dotcode.c #9 0x0001047e4a20 in do_dotcall dotcode.c:1437 #10 0x000104995434 in bcEval_loop eval.c:8154 #11 0x000104940cb8 in bcEval eval.c:7537 #12 0x00010493ed50 in Rf_eval eval.c:1167 #13 0x0001049492fc in R_execClosure eval.c:2400 #14 0x0001049448fc in applyClosure_core eval.c:2316 #15 0x000104942a64 in Rf_applyClosure eval.c:2335 #16 0x000104b25cf8 in dispatchMethod objects.c:473 #17 0x000104b23a9c in Rf_usemethod objects.c:513 #18 0x000104b26f84 in do_usemethod objects.c:579 #19 0x0001049838fc in bcEval_loop eval.c:8174 #20 0x000104940cb8 in bcEval eval.c:7537 #21 0x00010493ed50 in Rf_eval eval.c:1167 #22 0x0001049492fc in R_execClosure eval.c:2400 #23 0x0001049448fc in applyClosure_core eval.c:2316 #24 0x000104942a64 in Rf_applyClosure eval.c:2335 #25 0x00010493f778 in Rf_eval eval.c:1278 #26 0x000104941108 in forcePromise eval.c:976 #27 0x0001049fcbe4 in getvar eval.c:5869 #28 0x0001049b68f0 in bcEval_loop eval.c:7884 #29 0x000104940cb8 in bcEval eval.c:7537 #30 0x00010493ed50 in Rf_eval eval.c:1167 #31 0x0001049492fc in R_execClosure eval.c:2400 #32 0x0001049448fc in applyClosure_core eval.c:2316 #33 0x000104942a64 in Rf_applyClosure eval.c:2335 #34 0x00010493f778 in Rf_eval eval.c:1278 #35 0x00010473bcfc in do_External dotcode.c:573 #36 0x000104995434 in bcEval_loop eval.c:8154 #37 0x000104940cb8 in bcEval eval.c:7537 #38 0x00010493ed50 in Rf_eval eval.c:1167 #39 0x0001049492fc in R_execClosure eval.c:2400 #40 0x0001049448fc in applyClosure_core eval.c:2316 #41 0x000104942a64 in Rf_applyClosure eval.c:2335 #42 0x00010493f778 in Rf_eval eval.c:1278 #43 0x000104953bb0 in do_begin eval.c:3003 #44 0x00010493f1ac in Rf_eval eval.c:1230 #45 0x00010495df34 in do_eval eval.c:3977 #46 0x000104995434 in bcEval_loop eval.c:8154 #47 0x000104940cb8 in bcEval eval.c:7537 #48 0x00010493ed50 in Rf_eval eval.c:1167 #49 0x0001049492fc in R_execClosure eval.c:2400 #50 0x0001049448fc in applyClosure_core eval.c:2316 #51 0x000104942a64 in Rf_applyClosure eval.c:2335 #52 0x00010493f778 in Rf_eval eval.c:1278 #53 0x00010495e400 in do_eval eval.c:3995 #54 0x000104995434 in bcEval_loop eval.c:8154 #55 0x000104940cb8 in bcEval eval.c:7537 #56 0x00010493ed50 in Rf_eval eval.c:1167 #57 0x0001049492fc in R_execClosure eval.c:2400 #58 0x0001049448fc in applyClosure_core eval.c:2316 #59 0x0001049466f0 in Rf_applyClosure eval.c:2335 #60 0x0001049466f0 in R_forceAndCall eval.c:2467 #61 0x000104551f80 in do_lapply apply.c:75 #62 0x000104b1bf60 in do_internal names.c:1425 #63 0x0001049838fc in bcEval_loop eval.c:8174 #64 0x000104940cb8 in bcEval eval.c:7537 #65 0x00010493ed50 in Rf_eval eval.c:1167 #66 0x0001049492fc in R_execClosure eval.c:2400 #67 0x0001049448fc in applyClosure_core eval.c:2316 #68 0x000104942a64 in Rf_applyClosure eval.c:2335 #69 0x00010493f778 in Rf_eval eval.c:1278 #70 0x000104a9f2f4 in Rf_ReplIteration main.c:264 #71 0x000104aa3604 in R_ReplConsole main.c:319 #72 0x000104aa3418 in run_Rmainloop main.c:1239 #73 0x000104aa3700 in Rf_mainloop main.c:1246 #74 0x000102f3d5f0 in main Rmain.c:29 #75 0x000194a90d78 in start+0x19f8 (dyld:arm64e+0x31d78) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/ripley/R/Library/RcppEigen/include/Eigen/src/Core/Block.h:347:25 Zero-inflated regression Call: fastglm_zi(formula = art ~ fem + mar | fem + mar, data = bioChemists, dist = "poisson") Count distribution: poisson Binary link: logit Count coefficients: Estimate (Intercept) 0.84578 femWomen -0.23645 marMarried 0.01106 Zero-inflation coefficients: Estimate (Intercept) -1.32338 femWomen 0.01865 marMarried -0.09166 Log-likelihood: -1670 Convergence: converged (7 iterations) Hurdle regression Call: fastglm_hurdle(formula = art ~ fem + mar | fem + mar, data = bioChemists, dist = "poisson") Count distribution: poisson Binary link: logit Count coefficients: Estimate (Intercept) 0.847585 femWomen -0.237339 marMarried 0.008862 Occurrence coefficients: Estimate (Intercept) 0.90794 femWomen -0.24195 marMarried 0.07802 Log-likelihood: -1670 Convergence: converged Saving _problems/test-sources-28.R [ FAIL 1 | WARN 1 | SKIP 4 | PASS 7931 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-ordinal-bootstrap-prepared.R:104:5', 'test-ordinal-bootstrap.R:186:5', 'test-ordinal-observed.R:82:5', 'test-prepared-firth.R:119:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-sources.R:28:5'): Parquet sources preserve factor levels, offsets, and fitted models ── Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. └─arrow::write_parquet(d[((k - 1) * 40 + 1):(k * 40), ], paths[k]) at test-sources.R:28:5 2. ├─ParquetFileWriter$create(...) 3. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 4. └─ParquetWriterProperties$create(...) 5. └─arrow:::parquet___WriterProperties___Builder__create() [ FAIL 1 | WARN 1 | SKIP 4 | PASS 7931 ] Error: ! Test failures. Execution halted * checking package vignettes ... OK * checking re-building of vignette outputs ... [76s/80s] OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR