==1925056== Memcheck, a memory error detector ==1925056== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. ==1925056== Using Valgrind-3.27.1 and LibVEX; rerun with -h for copyright info ==1925056== Command: /data/localhost/ripley/R/R-devel-vg/bin/exec/R -f testthat.R --restore --save --no-readline --vanilla ==1925056== R Under development (unstable) (2026-11-09 r90864) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(fastglm) > > test_check("fastglm") ==1925056== realloc() with size 0 ==1925056== at 0x4849835: realloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:1741) ==1925056== by 0x1DE73A32: aligned_realloc (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/util/Memory.h:221) ==1925056== by 0x1DE73A32: conditional_aligned_realloc (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/util/Memory.h:270) ==1925056== by 0x1DE73A32: conditional_aligned_realloc_new_auto (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/util/Memory.h:426) ==1925056== by 0x1DE73A32: conservativeResize (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/DenseStorage.h:630) ==1925056== by 0x1DE73A32: run (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:1081) ==1925056== by 0x1DE73A32: conservativeResize (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:426) ==1925056== by 0x1DE73A32: count_block_summary(Eigen::Map, 0, Eigen::Stride<0, 0> >, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Eigen::Map, 0, Eigen::Stride<0, 0> >, double, bool, int, bool, bool) (/data/localhost/ripley/R/packages/tests-vg/fastglm/src/count_kernels.cpp:66) ==1925056== by 0x1DE55646: _fastglm_count_block_summary (/data/localhost/ripley/R/packages/tests-vg/fastglm/src/RcppExports.cpp:115) ==1925056== by 0x49771D: R_doDotCall (/data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:790) ==1925056== by 0x4D5A1A: bcEval_loop (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8708) ==1925056== by 0x4E4E41: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537) ==1925056== by 0x4E4E41: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7522) ==1925056== by 0x4E520A: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167) ==1925056== by 0x4E70A6: R_execClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400) ==1925056== by 0x4E7E3F: applyClosure_core (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316) ==1925056== by 0x4E5418: Rf_applyClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335) ==1925056== by 0x4E5418: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278) ==1925056== by 0x4EA2B9: do_set (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3587) ==1925056== by 0x4E55CD: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230) ==1925056== Address 0x1ab612c0 is 0 bytes inside a block of size 400 alloc'd ==1925056== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1925056== by 0x1DE76273: aligned_malloc (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/util/Memory.h:182) ==1925056== by 0x1DE76273: conditional_aligned_malloc (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/util/Memory.h:241) ==1925056== by 0x1DE76273: conditional_aligned_new_auto (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/util/Memory.h:404) ==1925056== by 0x1DE76273: resize (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/DenseStorage.h:639) ==1925056== by 0x1DE76273: resize (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:311) ==1925056== by 0x1DE76273: _init1 (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:847) ==1925056== by 0x1DE76273: Matrix (/data/localhost/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/Matrix.h:332) ==1925056== by 0x1DE76273: count_block_summary(Eigen::Map, 0, Eigen::Stride<0, 0> >, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Eigen::Map, 0, Eigen::Stride<0, 0> >, double, bool, int, bool, bool) (/data/localhost/ripley/R/packages/tests-vg/fastglm/src/count_kernels.cpp:63) ==1925056== by 0x1DE55646: _fastglm_count_block_summary (/data/localhost/ripley/R/packages/tests-vg/fastglm/src/RcppExports.cpp:115) ==1925056== by 0x49771D: R_doDotCall (/data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:790) ==1925056== by 0x4D5A1A: bcEval_loop (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8708) ==1925056== by 0x4E4E41: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537) ==1925056== by 0x4E4E41: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7522) ==1925056== by 0x4E520A: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167) ==1925056== by 0x4E70A6: R_execClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400) ==1925056== by 0x4E7E3F: applyClosure_core (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316) ==1925056== by 0x4E5418: Rf_applyClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335) ==1925056== by 0x4E5418: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278) ==1925056== by 0x4EA2B9: do_set (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3587) ==1925056== by 0x4E55CD: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230) ==1925056== ==1925056== Warning: invalid file descriptor -1 in syscall fstat() 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 [ FAIL 0 | WARN 1 | SKIP 4 | PASS 7934 ] ══ 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' [ FAIL 0 | WARN 1 | SKIP 4 | PASS 7934 ] > > proc.time() user system elapsed 5813.910 47.131 5918.848 ==1925056== ==1925056== HEAP SUMMARY: ==1925056== in use at exit: 508,763,299 bytes in 101,209 blocks ==1925056== total heap usage: 12,176,977 allocs, 12,075,768 frees, 11,817,246,443 bytes allocated ==1925056== ==1925056== LEAK SUMMARY: ==1925056== definitely lost: 0 bytes in 0 blocks ==1925056== indirectly lost: 0 bytes in 0 blocks ==1925056== possibly lost: 0 bytes in 0 blocks ==1925056== still reachable: 508,763,299 bytes in 101,209 blocks ==1925056== suppressed: 0 bytes in 0 blocks ==1925056== Reachable blocks (those to which a pointer was found) are not shown. ==1925056== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==1925056== ==1925056== For lists of detected and suppressed errors, rerun with: -s ==1925056== ERROR SUMMARY: 12 errors from 1 contexts (suppressed: 0 from 0)