Running ‘testthat.R’ [0m/90m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clustTMB)
  > 
  > test_check("clustTMB")
  Loading required package: mclust
  Package 'mclust' version 6.1.2
  Type 'citation("mclust")' for citing this R package in publications.
  Loading required package: MoEClust
  
  Package 'MoEClust' version 1.6.0.
  
  Type '?MoEClust' to see a brief guide to how to use this R package.
  Type 'citation("MoEClust")' for citing the package in publications.
  Type 'MoE_news()' to see new features recent changes and bug fixes.
  
  Loading required package: mvnfast
  Loading required package: FMsmsnReg
  Loading required package: TMB
  using C++ compiler: 'clang version 22.1.4 (https://github.com/llvm/llvm-project 35990504507d79e0b9deb809c8ee5e1b34ceef20)'
  make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/clustTMB.Rcheck/tests/testthat'
  clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/test-clang/TMB/include" -I"/tmp/Rtmpjy28ot/RLIBS_c47256707438c/RcppEigen/include"  -DTMB_SAFEBOUNDS -DTMB_EIGEN_DISABLE_WARNINGS -DLIB_UNLOAD=R_unload_simple  -DTMB_LIB_INIT=R_init_simple  -DCPPAD_FRAMEWORK  -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c ref/simple.cpp -o ref/simple.o
  In file included from ref/simple.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
  In file included from /tmp/Rtmpjy28ot/RLIBS_c47256707438c/RcppEigen/include/Eigen/Sparse:26:
  In file included from /tmp/Rtmpjy28ot/RLIBS_c47256707438c/RcppEigen/include/Eigen/SparseCore:61:
  /tmp/Rtmpjy28ot/RLIBS_c47256707438c/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
    273 |       Index count = 0;
        |             ^
  In file included from ref/simple.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
  In file included from /tmp/Rtmpjy28ot/RLIBS_c47256707438c/RcppEigen/include/Eigen/Sparse:29:
  In file included from /tmp/Rtmpjy28ot/RLIBS_c47256707438c/RcppEigen/include/Eigen/SparseLU:35:
  /tmp/Rtmpjy28ot/RLIBS_c47256707438c/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
     78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        |         ^
  /tmp/Rtmpjy28ot/RLIBS_c47256707438c/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
     79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        |         ^
  3 warnings generated.
  clang++-22 -stdlib=libc++ -std=gnu++20 -shared -L/usr/local/clang/lib64 -L/usr/local/clang22/lib -L/usr/local/clang22/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -o ref/simple.so ref/simple.o
  make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/clustTMB.Rcheck/tests/testthat'
  make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/clustTMB.Rcheck/tests/testthat'
  make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/clustTMB.Rcheck/tests/testthat'