* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘glmmrOptim’ ...
** package ‘glmmrOptim’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 19.1.3 (2)’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpThQtHQ/R.INSTALL2808fd62aafa09/glmmrOptim/src'
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rminqa/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic  -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCore:61:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 ./../inst/include/glmmrOptim.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseLU:35:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 ./../inst/include/glmmrOptim.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 ./../inst/include/glmmrOptim.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ./../inst/include/optim/optimclass.h:8:
In file included from ./../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ./../inst/include/optim/optimclass.h:8:
In file included from ./../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/SparseChol.h:3:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  145 |   int x ;
      |       ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  415 |   double val;
      |          ^~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  625 |   double mem = 0;
      |          ^~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  626 |   int nz = Ap.back();
      |       ^~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:787:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable]
  787 |   int ncmpa = 0 ;
      |       ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  815 |   int deg, inext, ilast;
      |                   ^~~~~
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ./../inst/include/optim/optimclass.h:8:
In file included from ./../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/SparseChol.h:4:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
   14 |   double val;
      |          ^~~
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ./../inst/include/optim/optimclass.h:8:
In file included from ./../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable]
  257 |     float a = std::stod(s);
      |           ^
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ./../inst/include/optim/optimclass.h:8:
In file included from ./../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:5:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/formula.hpp:6:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ./../inst/include/optim/optimclass.h:8:
In file included from ./../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modelbits.hpp:6:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable]
  379 |   double au, av, qf;
      |              ^~
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ./../inst/include/optim/optimclass.h:8:
In file included from ./../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modeloptim.hpp:12:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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);
      |            ^~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ./../inst/include/optim/optimclass.h:8:
./../inst/include/optim/optimderivatives.h:20:9: warning: unused variable 'curr_size' [-Wunused-variable]
   20 |     int curr_size = FirstOrderDerivatives.size();
      |         ^~~~~~~~~
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:46:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ./../inst/include/optim/optimclass.h:8:
In file included from ./../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modeloptim.hpp:12:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/optim/optim.h:15:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ./../inst/include/optim/optimclass.h:8:
In file included from ./../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modeloptim.hpp:12:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  413 |   int              iter = 0;
      |                    ^
24 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rminqa/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic  -c gd_search.cpp -o gd_search.o
In file included from gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:10:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCore:61:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:10:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseLU:35:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:10:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:10:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/SparseChol.h:3:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  145 |   int x ;
      |       ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  415 |   double val;
      |          ^~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  625 |   double mem = 0;
      |          ^~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  626 |   int nz = Ap.back();
      |       ^~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:787:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable]
  787 |   int ncmpa = 0 ;
      |       ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  815 |   int deg, inext, ilast;
      |                   ^~~~~
In file included from gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/SparseChol.h:4:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
   14 |   double val;
      |          ^~~
In file included from gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable]
  257 |     float a = std::stod(s);
      |           ^
In file included from gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:5:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/formula.hpp:6:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modelbits.hpp:6:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable]
  379 |   double au, av, qf;
      |              ^~
In file included from gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modeloptim.hpp:12:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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);
      |            ^~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 gd_search.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
../inst/include/optim/optimderivatives.h:20:9: warning: unused variable 'curr_size' [-Wunused-variable]
   20 |     int curr_size = FirstOrderDerivatives.size();
      |         ^~~~~~~~~
In file included from gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:10:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:46:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Covariance' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Covariance>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
In file included from gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modeloptim.hpp:12:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/optim/optim.h:15:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 gd_search.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modeloptim.hpp:12:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  413 |   int              iter = 0;
      |                    ^
25 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rminqa/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic  -c openmp_utils.cpp -o openmp_utils.o
In file included from openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCore:61:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseLU:35:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/SparseChol.h:3:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  145 |   int x ;
      |       ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  415 |   double val;
      |          ^~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  625 |   double mem = 0;
      |          ^~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  626 |   int nz = Ap.back();
      |       ^~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:787:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable]
  787 |   int ncmpa = 0 ;
      |       ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  815 |   int deg, inext, ilast;
      |                   ^~~~~
In file included from openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/SparseChol.h:4:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
   14 |   double val;
      |          ^~~
In file included from openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:3:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable]
  257 |     float a = std::stod(s);
      |           ^
In file included from openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:5:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/formula.hpp:6:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modelbits.hpp:6:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable]
  379 |   double au, av, qf;
      |              ^~
In file included from openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modeloptim.hpp:12:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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);
      |            ^~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
../inst/include/optim/optimderivatives.h:20:9: warning: unused variable 'curr_size' [-Wunused-variable]
   20 |     int curr_size = FirstOrderDerivatives.size();
      |         ^~~~~~~~~
openmp_utils.cpp:19:8: warning: variable 'a' set but not used [-Wunused-but-set-variable]
   19 |    int a, b; // needed for defines on machines without openmp
      |        ^
In file included from openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:46:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
In file included from openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modeloptim.hpp:12:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/optim/optim.h:15:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 openmp_utils.cpp:2:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr.h:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/model.hpp:8:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/modeloptim.hpp:12:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  413 |   int              iter = 0;
      |                    ^
25 warnings generated.
clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o glmmrOptim.so RcppExports.o gd_search.o openmp_utils.o -llapack -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-19/lib -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpThQtHQ/R.INSTALL2808fd62aafa09/glmmrOptim/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpThQtHQ/R.INSTALL2808fd62aafa09/glmmrOptim/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpThQtHQ/R.INSTALL2808fd62aafa09/glmmrOptim/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-glmmrOptim/00new/glmmrOptim/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (glmmrOptim)