* installing *source* package ‘glmmrOptim’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 17.0.6 (5)’ using C++17 clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppProgress/include' -I'/srv/hornik/tmp/CRAN/Library/glmmrBase/include' -I'/srv/hornik/tmp/CRAN/Library/SparseChol/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN/Library/rminqa/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.4/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 ./../inst/include/glmmrOptim.h:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.4/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.4/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 ./../inst/include/glmmrOptim.h:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.4/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 ./../inst/include/glmmrOptim.h:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.4/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 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:32: In file included from /srv/hornik/tmp/CRAN/Library/SparseChol/include/SparseChol.h:3: /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable] 415 | double val; | ^~~ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable] 625 | double mem = 0; | ^~~ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable] 626 | int nz = Ap.back(); | ^~ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:787:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable] 787 | int ncmpa = 0 ; | ^ /srv/hornik/tmp/CRAN/Library/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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:32: In file included from /srv/hornik/tmp/CRAN/Library/SparseChol/include/SparseChol.h:4: /srv/hornik/tmp/CRAN/Library/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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:247:11: warning: unused variable 'a' [-Wunused-variable] 247 | 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:4: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modelbits.hpp:6: /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/nngpcovariance.hpp:381:14: warning: unused variable 'av' [-Wunused-variable] 381 | 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN/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/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 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:173:10: warning: unused variable 'old_ll' [-Wunused-variable] 173 | double old_ll = log_likelihood_beta(start); | ^~~~~~ /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:227:10: warning: unused variable 'old_ll' [-Wunused-variable] 227 | double old_ll = log_likelihood_theta(start); | ^~~~~~ 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/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:26: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:46: /home/hornik/lib/R/Library/4.4/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.4/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.4/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.4/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.4/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.4/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 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/optim/optim.h:15: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201: /srv/hornik/tmp/CRAN/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 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN/Library/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++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppProgress/include' -I'/srv/hornik/tmp/CRAN/Library/glmmrBase/include' -I'/srv/hornik/tmp/CRAN/Library/SparseChol/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN/Library/rminqa/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.4/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 gd_search.cpp:1: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.4/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.4/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 gd_search.cpp:1: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.4/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 gd_search.cpp:1: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.4/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 gd_search.cpp:1: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:32: In file included from /srv/hornik/tmp/CRAN/Library/SparseChol/include/SparseChol.h:3: /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable] 415 | double val; | ^~~ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable] 625 | double mem = 0; | ^~~ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable] 626 | int nz = Ap.back(); | ^~ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:787:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable] 787 | int ncmpa = 0 ; | ^ /srv/hornik/tmp/CRAN/Library/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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:32: In file included from /srv/hornik/tmp/CRAN/Library/SparseChol/include/SparseChol.h:4: /srv/hornik/tmp/CRAN/Library/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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:247:11: warning: unused variable 'a' [-Wunused-variable] 247 | float a = std::stod(s); | ^ In file included from gd_search.cpp:1: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:4: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modelbits.hpp:6: /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/nngpcovariance.hpp:381:14: warning: unused variable 'av' [-Wunused-variable] 381 | double au, av, qf; | ^~ In file included from gd_search.cpp:1: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN/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/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 gd_search.cpp:1: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:173:10: warning: unused variable 'old_ll' [-Wunused-variable] 173 | double old_ll = log_likelihood_beta(start); | ^~~~~~ /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:227:10: warning: unused variable 'old_ll' [-Wunused-variable] 227 | double old_ll = log_likelihood_theta(start); | ^~~~~~ 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:10: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:26: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:46: /home/hornik/lib/R/Library/4.4/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.4/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.4/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.4/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.4/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.4/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.4/x86_64-linux-gnu/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/lib/R/Library/4.4/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 gd_search.cpp:1: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/optim/optim.h:15: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201: /srv/hornik/tmp/CRAN/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 gd_search.cpp:1: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN/Library/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++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppProgress/include' -I'/srv/hornik/tmp/CRAN/Library/glmmrBase/include' -I'/srv/hornik/tmp/CRAN/Library/SparseChol/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN/Library/rminqa/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.4/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 openmp_utils.cpp:2: In file included from ../inst/include/glmmrOptim.h:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.4/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.4/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 openmp_utils.cpp:2: In file included from ../inst/include/glmmrOptim.h:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.4/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 openmp_utils.cpp:2: In file included from ../inst/include/glmmrOptim.h:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.4/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 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:32: In file included from /srv/hornik/tmp/CRAN/Library/SparseChol/include/SparseChol.h:3: /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable] 415 | double val; | ^~~ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable] 625 | double mem = 0; | ^~~ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable] 626 | int nz = Ap.back(); | ^~ /srv/hornik/tmp/CRAN/Library/SparseChol/include/sparsematrix.h:787:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable] 787 | int ncmpa = 0 ; | ^ /srv/hornik/tmp/CRAN/Library/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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:32: In file included from /srv/hornik/tmp/CRAN/Library/SparseChol/include/SparseChol.h:4: /srv/hornik/tmp/CRAN/Library/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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:3: /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/general.h:247:11: warning: unused variable 'a' [-Wunused-variable] 247 | 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:4: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modelbits.hpp:6: /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/nngpcovariance.hpp:381:14: warning: unused variable 'av' [-Wunused-variable] 381 | 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN/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/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 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:173:10: warning: unused variable 'old_ll' [-Wunused-variable] 173 | double old_ll = log_likelihood_beta(start); | ^~~~~~ /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:227:10: warning: unused variable 'old_ll' [-Wunused-variable] 227 | double old_ll = log_likelihood_theta(start); | ^~~~~~ 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/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:26: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:46: /home/hornik/lib/R/Library/4.4/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.4/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.4/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.4/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.4/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.4/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 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/optim/optim.h:15: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201: /srv/hornik/tmp/CRAN/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 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 /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr.h:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/model.hpp:8: In file included from /srv/hornik/tmp/CRAN/Library/glmmrBase/include/glmmr/modeloptim.hpp:12: /srv/hornik/tmp/CRAN/Library/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++-17 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-17/lib -Wl,-O1 -o glmmrOptim.so RcppExports.o gd_search.o openmp_utils.o -llapack -L/home/hornik/tmp/R-d-clang-17/lib -lRblas -L/usr/lib/llvm-17/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R-d-clang-17/lib -lR installing to /srv/hornik/tmp/CRAN/glmmrOptim.Rcheck/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)