* installing *source* package ‘rts2’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 19.1.4 (1)’ using C++17 Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : invalid non-character version specification 'x' (type: double) Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version Execution halted clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I"../inst/include" -I"/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppParallel/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/rstan/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/StanHeaders/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 | ^ In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ 5 warnings generated. Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : invalid non-character version specification 'x' (type: double) Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version Execution halted clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I"../inst/include" -I"/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppParallel/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/rstan/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/StanHeaders/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c create_new_models.cpp -o create_new_models.o In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 | ^ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined] 19 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here 33 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t | ^ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:37: In file included from /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/SparseChol.h:3: /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable] 437 | double val; | ^~~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable] 647 | double mem = 0; | ^~~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable] 648 | int nz = Ap.back(); | ^~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:809:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable] 809 | int ncmpa = 0 ; | ^ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable] 837 | int deg, inext, ilast; | ^~~~~ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:37: In file included from /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/SparseChol.h:4: /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable] 14 | double val; | ^~~ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable] 257 | float a = std::stod(s); | ^ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:5: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/formula.hpp:6: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable] 207 | bool add_check, variable_in_data; | ^ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:4: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modelbits.hpp:6: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable] 379 | double au, av, qf; | ^~ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable] 354 | double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter); | ^~~~~~ /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable] 503 | double a = eval(current_values, g); | ^ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: In file included from ../inst/include/rts/rtsmodeloptim.h:4: In file included from ../inst/include/rts/rtsmodelbits.h:13: ../inst/include/rts/nngpcovariance.h:498:18: warning: unused variable 'qf1' [-Wunused-variable] 498 | double au, av, qf1; | ^~~ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: In file included from ../inst/include/rts/rtsmodeloptim.h:4: In file included from ../inst/include/rts/rtsmodelbits.h:15: In file included from ../inst/include/rts/regionlinearpredictor.h:4: ../inst/include/rts/regiondata.h:67:7: warning: unused variable 'nInter' [-Wunused-variable] 67 | int nInter, r, t, l, idx1; | ^~~~~~ ../inst/include/rts/regiondata.h:67:24: warning: unused variable 'idx1' [-Wunused-variable] 67 | int nInter, r, t, l, idx1; | ^~~~ ../inst/include/rts/regiondata.h:115:7: warning: unused variable 'nInter' [-Wunused-variable] 115 | int nInter, r, t, l, j, idx1; | ^~~~~~ ../inst/include/rts/regiondata.h:115:27: warning: unused variable 'idx1' [-Wunused-variable] 115 | int nInter, r, t, l, j, idx1; | ^~~~ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: ../inst/include/rts/rtsmodeloptim.h:588:14: warning: unused variable 'logl' [-Wunused-variable] 588 | double logl = 0; | ^~~~ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:5: ../inst/include/rts/rtsregionmodel.h:467:7: warning: unused variable 'R' [-Wunused-variable] 467 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:514:7: warning: unused variable 'R' [-Wunused-variable] 514 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:561:7: warning: unused variable 'R' [-Wunused-variable] 561 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:608:7: warning: unused variable 'R' [-Wunused-variable] 608 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:661:7: warning: unused variable 'R' [-Wunused-variable] 661 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:714:7: warning: unused variable 'R' [-Wunused-variable] 714 | int R = region.nRegion; | ^ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:26: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp.h:46: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'rts::nngpCovariance' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:15: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function] 251 | bobyqa(const INTEGER n, const INTEGER npt, | ^~~~~~ In file included from create_new_models.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field] 413 | int iter = 0; | ^ 36 warnings generated. Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : invalid non-character version specification 'x' (type: double) Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version Execution halted clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I"../inst/include" -I"/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppParallel/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/rstan/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/StanHeaders/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c model_module.cpp -o model_module.o In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 | ^ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined] 19 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here 33 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t | ^ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:37: In file included from /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/SparseChol.h:3: /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable] 437 | double val; | ^~~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable] 647 | double mem = 0; | ^~~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable] 648 | int nz = Ap.back(); | ^~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:809:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable] 809 | int ncmpa = 0 ; | ^ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable] 837 | int deg, inext, ilast; | ^~~~~ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:37: In file included from /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/SparseChol.h:4: /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable] 14 | double val; | ^~~ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable] 257 | float a = std::stod(s); | ^ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:5: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/formula.hpp:6: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable] 207 | bool add_check, variable_in_data; | ^ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:4: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modelbits.hpp:6: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable] 379 | double au, av, qf; | ^~ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable] 354 | double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter); | ^~~~~~ /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable] 503 | double a = eval(current_values, g); | ^ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: In file included from ../inst/include/rts/rtsmodeloptim.h:4: In file included from ../inst/include/rts/rtsmodelbits.h:13: ../inst/include/rts/nngpcovariance.h:498:18: warning: unused variable 'qf1' [-Wunused-variable] 498 | double au, av, qf1; | ^~~ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: In file included from ../inst/include/rts/rtsmodeloptim.h:4: In file included from ../inst/include/rts/rtsmodelbits.h:15: In file included from ../inst/include/rts/regionlinearpredictor.h:4: ../inst/include/rts/regiondata.h:67:7: warning: unused variable 'nInter' [-Wunused-variable] 67 | int nInter, r, t, l, idx1; | ^~~~~~ ../inst/include/rts/regiondata.h:67:24: warning: unused variable 'idx1' [-Wunused-variable] 67 | int nInter, r, t, l, idx1; | ^~~~ ../inst/include/rts/regiondata.h:115:7: warning: unused variable 'nInter' [-Wunused-variable] 115 | int nInter, r, t, l, j, idx1; | ^~~~~~ ../inst/include/rts/regiondata.h:115:27: warning: unused variable 'idx1' [-Wunused-variable] 115 | int nInter, r, t, l, j, idx1; | ^~~~ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: ../inst/include/rts/rtsmodeloptim.h:588:14: warning: unused variable 'logl' [-Wunused-variable] 588 | double logl = 0; | ^~~~ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:5: ../inst/include/rts/rtsregionmodel.h:467:7: warning: unused variable 'R' [-Wunused-variable] 467 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:514:7: warning: unused variable 'R' [-Wunused-variable] 514 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:561:7: warning: unused variable 'R' [-Wunused-variable] 561 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:608:7: warning: unused variable 'R' [-Wunused-variable] 608 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:661:7: warning: unused variable 'R' [-Wunused-variable] 661 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:714:7: warning: unused variable 'R' [-Wunused-variable] 714 | int R = region.nRegion; | ^ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:26: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp.h:46: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:15: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function] 251 | bobyqa(const INTEGER n, const INTEGER npt, | ^~~~~~ In file included from model_module.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field] 413 | int iter = 0; | ^ 35 warnings generated. Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : invalid non-character version specification 'x' (type: double) Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version Execution halted clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I"../inst/include" -I"/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppParallel/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/rstan/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/StanHeaders/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c model_module2.cpp -o model_module2.o In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 | ^ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined] 19 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here 33 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t | ^ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:37: In file included from /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/SparseChol.h:3: /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable] 437 | double val; | ^~~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable] 647 | double mem = 0; | ^~~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable] 648 | int nz = Ap.back(); | ^~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:809:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable] 809 | int ncmpa = 0 ; | ^ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable] 837 | int deg, inext, ilast; | ^~~~~ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:37: In file included from /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/SparseChol.h:4: /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable] 14 | double val; | ^~~ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable] 257 | float a = std::stod(s); | ^ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:5: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/formula.hpp:6: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable] 207 | bool add_check, variable_in_data; | ^ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:4: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modelbits.hpp:6: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable] 379 | double au, av, qf; | ^~ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable] 354 | double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter); | ^~~~~~ /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable] 503 | double a = eval(current_values, g); | ^ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: In file included from ../inst/include/rts/rtsmodeloptim.h:4: In file included from ../inst/include/rts/rtsmodelbits.h:13: ../inst/include/rts/nngpcovariance.h:498:18: warning: unused variable 'qf1' [-Wunused-variable] 498 | double au, av, qf1; | ^~~ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: In file included from ../inst/include/rts/rtsmodeloptim.h:4: In file included from ../inst/include/rts/rtsmodelbits.h:15: In file included from ../inst/include/rts/regionlinearpredictor.h:4: ../inst/include/rts/regiondata.h:67:7: warning: unused variable 'nInter' [-Wunused-variable] 67 | int nInter, r, t, l, idx1; | ^~~~~~ ../inst/include/rts/regiondata.h:67:24: warning: unused variable 'idx1' [-Wunused-variable] 67 | int nInter, r, t, l, idx1; | ^~~~ ../inst/include/rts/regiondata.h:115:7: warning: unused variable 'nInter' [-Wunused-variable] 115 | int nInter, r, t, l, j, idx1; | ^~~~~~ ../inst/include/rts/regiondata.h:115:27: warning: unused variable 'idx1' [-Wunused-variable] 115 | int nInter, r, t, l, j, idx1; | ^~~~ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: ../inst/include/rts/rtsmodeloptim.h:588:14: warning: unused variable 'logl' [-Wunused-variable] 588 | double logl = 0; | ^~~~ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:5: ../inst/include/rts/rtsregionmodel.h:467:7: warning: unused variable 'R' [-Wunused-variable] 467 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:514:7: warning: unused variable 'R' [-Wunused-variable] 514 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:561:7: warning: unused variable 'R' [-Wunused-variable] 561 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:608:7: warning: unused variable 'R' [-Wunused-variable] 608 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:661:7: warning: unused variable 'R' [-Wunused-variable] 661 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:714:7: warning: unused variable 'R' [-Wunused-variable] 714 | int R = region.nRegion; | ^ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:26: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp.h:46: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ In file included from model_module2.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field] 413 | int iter = 0; | ^ 34 warnings generated. Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : invalid non-character version specification 'x' (type: double) Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version Execution halted clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I"../inst/include" -I"/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppParallel/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/rstan/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/StanHeaders/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c model_module_extension.cpp -o model_module_extension.o In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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 | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined] 19 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here 33 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:37: In file included from /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/SparseChol.h:3: /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable] 437 | double val; | ^~~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable] 647 | double mem = 0; | ^~~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable] 648 | int nz = Ap.back(); | ^~ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:809:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable] 809 | int ncmpa = 0 ; | ^ /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable] 837 | int deg, inext, ilast; | ^~~~~ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:37: In file included from /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/SparseChol.h:4: /srv/hornik/tmp/CRAN_pretest/Library/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable] 14 | double val; | ^~~ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable] 257 | float a = std::stod(s); | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:5: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/formula.hpp:6: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable] 207 | bool add_check, variable_in_data; | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:4: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modelbits.hpp:6: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable] 379 | double au, av, qf; | ^~ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable] 354 | double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter); | ^~~~~~ /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable] 503 | double a = eval(current_values, g); | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: In file included from ../inst/include/rts/rtsmodeloptim.h:4: In file included from ../inst/include/rts/rtsmodelbits.h:13: ../inst/include/rts/nngpcovariance.h:498:18: warning: unused variable 'qf1' [-Wunused-variable] 498 | double au, av, qf1; | ^~~ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: In file included from ../inst/include/rts/rtsmodeloptim.h:4: In file included from ../inst/include/rts/rtsmodelbits.h:15: In file included from ../inst/include/rts/regionlinearpredictor.h:4: ../inst/include/rts/regiondata.h:67:7: warning: unused variable 'nInter' [-Wunused-variable] 67 | int nInter, r, t, l, idx1; | ^~~~~~ ../inst/include/rts/regiondata.h:67:24: warning: unused variable 'idx1' [-Wunused-variable] 67 | int nInter, r, t, l, idx1; | ^~~~ ../inst/include/rts/regiondata.h:115:7: warning: unused variable 'nInter' [-Wunused-variable] 115 | int nInter, r, t, l, j, idx1; | ^~~~~~ ../inst/include/rts/regiondata.h:115:27: warning: unused variable 'idx1' [-Wunused-variable] 115 | int nInter, r, t, l, j, idx1; | ^~~~ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:4: In file included from ../inst/include/rts/rtsmodel.h:11: ../inst/include/rts/rtsmodeloptim.h:588:14: warning: unused variable 'logl' [-Wunused-variable] 588 | double logl = 0; | ^~~~ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:5: ../inst/include/rts/rtsregionmodel.h:467:7: warning: unused variable 'R' [-Wunused-variable] 467 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:514:7: warning: unused variable 'R' [-Wunused-variable] 514 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:561:7: warning: unused variable 'R' [-Wunused-variable] 561 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:608:7: warning: unused variable 'R' [-Wunused-variable] 608 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:661:7: warning: unused variable 'R' [-Wunused-variable] 661 | int R = region.nRegion; | ^ ../inst/include/rts/rtsregionmodel.h:714:7: warning: unused variable 'R' [-Wunused-variable] 714 | int R = region.nRegion; | ^ model_module_extension.cpp:334:6: error: expected value in expression 334 | #elif | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:36: /usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/variant:1876:22: error: static assertion failed due to requirement '__visit_rettypes_match': std::visit requires the visitor to have the same return type for all alternatives of a variant 1876 | static_assert(__visit_rettypes_match, | ^~~~~~~~~~~~~~~~~~~~~~ model_module_extension.cpp:339:17: note: in instantiation of function template specialization 'std::visit &, std::variant>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>> &>' requested here 339 | auto S = std::visit(functor,model.ptr); | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:36: /usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/variant:1879:8: error: non-void constexpr function 'visit &, std::variant>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>, Rcpp::XPtr>> &>' should return a value 1879 | return; | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:26: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp.h:46: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 31 | delete obj; | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer>>' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ In file included from model_module_extension.cpp:1: In file included from ../inst/include/rtsheader.h:3: In file included from ../inst/include/rts/rtsmaths.h:3: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN_pretest/Library/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field] 413 | int iter = 0; | ^ 34 warnings and 3 errors generated. make: *** [/home/hornik/tmp/R-d-clang-19/etc/Makeconf:202: model_module_extension.o] Error 1 ERROR: compilation failed for package ‘rts2’ * removing ‘/srv/hornik/tmp/CRAN_pretest/rts2.Rcheck/rts2’