* installing *source* package ‘glmmrOptim’ ... ** package ‘glmmrOptim’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (GCC) 14.2.0’ using C++17 make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/glmmrOptim/src' g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/glmmrBase/include' -I'/data/gannet/ripley/R/test-dev/SparseChol/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/rminqa/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/glmmrBase/include' -I'/data/gannet/ripley/R/test-dev/SparseChol/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/rminqa/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c gd_search.cpp -o gd_search.o In file included from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/algo.h:3, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/maths.h:5, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:5, from gd_search.cpp:1: /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/general.h:19:9: warning: "EIGEN_DEFAULT_DENSE_INDEX_TYPE" redefined 19 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/Core:19, from /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/Dense:1, from /data/gannet/ripley/R/test-dev/RcppEigen/include/RcppEigenForward.h:28, from /data/gannet/ripley/R/test-dev/RcppEigen/include/RcppEigen.h:25, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/general.h:10: /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: this is the location of the previous definition 33 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/algo.h:3, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/maths.h:5, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:5, from ../inst/include/optim/optimderivatives.h:4, from ../inst/include/optim/optimclass.h:8, from ../inst/include/glmmrOptim.h:6, from RcppExports.cpp:4: /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/general.h:19:9: warning: "EIGEN_DEFAULT_DENSE_INDEX_TYPE" redefined 19 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/Core:19, from /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/Dense:1, from /data/gannet/ripley/R/test-dev/RcppEigen/include/RcppEigenForward.h:28, from /data/gannet/ripley/R/test-dev/RcppEigen/include/RcppEigen.h:25, from ../inst/include/glmmrOptim.h:4: /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: this is the location of the previous definition 33 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/gannet/ripley/R/test-dev/SparseChol/include/SparseChol.h:3, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/general.h:34: /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h: In function 'int clear_flag(int, int, intvec&)': /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h: In member function 'void sparse::insert(int, int, double)': /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:353:20: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 353 | if(Ap[row]+p >= Ai.size()){ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:360:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 360 | for(int i = row+1; i < Ap.size(); i++)Ap[i]++; | ~~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:382:20: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 382 | if(Ap[col]+p >= Ai.size()){ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:389:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 389 | for(int i = col+1; i < Ap.size(); i++)Ap[i]++; | ~~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h: In member function 'void sparse::transpose()': /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:405:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 405 | for (int i = 2; i < B.Ap.size(); ++i) { | ~~^~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h: In member function 'sparse& sparse::operator+=(const sparse&)': /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable] 437 | double val; | ^~~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h: In member function 'void sparse::AMD_order()': /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable] 647 | double mem = 0; | ^~~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable] 648 | int nz = Ap.back(); | ^~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable] 837 | int deg, inext, ilast; | ^~~~~ In file included from /data/gannet/ripley/R/test-dev/SparseChol/include/SparseChol.h:4: /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h: In function 'dblvec operator*(const sparse&, const dblvec&)': /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h:12:10: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 12 | if(A.m != B.size())Rcpp::stop("wrong dimension in sparse-vector multiplication"); | ~~~~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable] 14 | double val; | ^~~ /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h: In member function 'sparse& sparse::operator%=(const dblvec&)': /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h:37:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | for(int i = 0; i < Ax.size(); i++){ | ~~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h: In function 'sparse SparseOperators::operator%(const sparse&, const Eigen::VectorXd&)': /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h:174:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare] 174 | for(unsigned int i = 0; i < A.m; i++){ | ~~^~~~~ In file included from /data/gannet/ripley/R/test-dev/SparseChol/include/SparseChol.h:3, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/general.h:34: /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h: In function 'int clear_flag(int, int, intvec&)': /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h: In member function 'void sparse::insert(int, int, double)': /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:353:20: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 353 | if(Ap[row]+p >= Ai.size()){ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:360:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 360 | for(int i = row+1; i < Ap.size(); i++)Ap[i]++; | ~~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:382:20: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 382 | if(Ap[col]+p >= Ai.size()){ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:389:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 389 | for(int i = col+1; i < Ap.size(); i++)Ap[i]++; | ~~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h: In member function 'void sparse::transpose()': /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:405:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 405 | for (int i = 2; i < B.Ap.size(); ++i) { | ~~^~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h: In member function 'sparse& sparse::operator+=(const sparse&)': /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable] 437 | double val; | ^~~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h: In member function 'void sparse::AMD_order()': /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable] 647 | double mem = 0; | ^~~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable] 648 | int nz = Ap.back(); | ^~ /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable] 837 | int deg, inext, ilast; | ^~~~~ In file included from /data/gannet/ripley/R/test-dev/SparseChol/include/SparseChol.h:4: /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h: In function 'dblvec operator*(const sparse&, const dblvec&)': /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h:12:10: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 12 | if(A.m != B.size())Rcpp::stop("wrong dimension in sparse-vector multiplication"); | ~~~~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable] 14 | double val; | ^~~ /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h: In member function 'sparse& sparse::operator%=(const dblvec&)': /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h:37:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | for(int i = 0; i < Ax.size(); i++){ | ~~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h: In function 'sparse SparseOperators::operator%(const sparse&, const Eigen::VectorXd&)': /data/gannet/ripley/R/test-dev/SparseChol/include/operators.h:174:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare] 174 | for(unsigned int i = 0; i < A.m; i++){ | ~~^~~~~ In file included from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/interpreter.h:4, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:6: /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/calculator.hpp: In member function 'void glmmr::calculator::update_parameters(const dblvec&)': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/calculator.hpp:64:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 64 | for(int i = 0; i < parameter_indexes.size(); i++)parameters[i] = parameters_in[parameter_indexes[i]]; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/calculator.hpp: In member function 'void glmmr::calculator::print_instructions() const': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/calculator.hpp:1336:30: warning: comparison of integer expressions of different signedness: 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'const int'} and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1336 | if(indexes[idx_iter] >= parameter_names.size()){ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/calculator.hpp:1351:30: warning: comparison of integer expressions of different signedness: 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'const int'} and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1351 | if(indexes[idx_iter] >= data_names.size()){ In file included from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/formula.hpp:6, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:7: /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/formulaparse.h: In function 'bool glmmr::is_number(const std::string&)': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/formulaparse.h:12:11: warning: unused variable 'a' [-Wunused-variable] 12 | float a = std::stod(s); | ^ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/formulaparse.h: In function 'void glmmr::two_way_fn(std::vector<char>&, calculator&, const Eigen::ArrayXXd&, const strvec&, Eigen::MatrixXd&, int, bool)': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/formulaparse.h:223:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable] 223 | bool add_check, variable_in_data; | ^~~~~~~~~~~~~~~~ In file included from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:8: /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/sparse.h: In function 'sparse glmmr::submat_sparse(const sparse&, intvec)': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/sparse.h:24:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 24 | for(int i = 0; i < rows.size(); i++){ | ~~^~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp: In member function 'virtual int glmmr::Covariance::parse()': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:281:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 281 | for(k = 0; k < fnvars[idx].size(); k++){ | ~~^~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:295:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 295 | for(j = 0; j< fnvars.size();j++){ | ~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:296:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 296 | for(k = 0; k < fnvars[j].size();k++){ | ~~^~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:314:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 314 | for(int m = 0; m < fnvars.size(); m++){ | ~~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:316:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 316 | for(int p = 0; p < fnvars[m].size(); p++){ | ~~^~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:323:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 323 | for(j = 0; j < groups.size(); j++){ | ~~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:336:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 336 | for(int m = 0; m < vals.size(); m++) vals[m] = data_(k,fnvars[idx][m]); | ~~^~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:362:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<glmmr::CovFunc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 362 | for(int j = 0; j < fn_.size(); j++){ | ~~^~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:368:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 368 | for(int k = 0; k < fn_[j].size(); k++) fn_name += covfunc_to_str.at(fn_[j][k]); | ~~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:369:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 369 | for(int k = 0; k < fn_[j].size(); k++){ | ~~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:393:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<glmmr::CovFunc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 393 | for(int i =0; i<fn_.size();i++){ | ~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:394:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 394 | for(int j = 0; j < re_pars_[i].size(); j++){ | ~~^~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:395:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 395 | for(int k = 0; k < re_pars_[i][j].size(); k++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:403:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<glmmr::CovFunc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 403 | for(int i =0; i<fn_.size();i++){ | ~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:410:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 410 | for(int j = 0; j<fn_[i].size();j++){ | ~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:414:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 414 | for(int j = 0; j<fn_[i].size();j++){ | ~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:437:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 437 | for(int k = 0; k < re_pars_[i][j].size(); k++)re_par_less_min_[k] -= minvalue; | ~~^~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:443:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 443 | for(int j = 0; j < (fn_[i].size()-1); j++){ | ~~^~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:457:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::calculator>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 457 | for(int i = 0; i < calc_.size(); i++){ | ~~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:464:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::calculator>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 464 | for(int i = 0; i < calc_.size(); i++) re_count_[re_order_[i]] += re_temp_data_[i].size(); | ~~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp: In member function 'void glmmr::Covariance::Z_updater()': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:524:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::ZNonZero>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 524 | for(int i = 0; i < z_nonzero.size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:525:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 525 | for(int j = 0; j < z_nonzero[i].rows.size(); j++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp: In member function 'virtual void glmmr::Covariance::update_parameters(const Eigen::ArrayXd&)': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:641:32: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long unsigned int'} and 'Eigen::EigenBase<Eigen::Array<double, -1, 1> >::Index' {aka 'long int'} [-Wsign-compare] 641 | } else if(parameters_.size() == parameters.size()){ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp: In member function 'bool glmmr::Covariance::any_group_re() const': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:1016:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<glmmr::CovFunc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1016 | for(int i = 0; i < fn_.size(); i++){ | ~~^~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:1017:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1017 | for(int j = 0; j < fn_[i].size(); j++){ | ~~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp: In member function 'strvec glmmr::Covariance::parameter_names()': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:1030:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1030 | for(int i = 0; i < form_.re_.size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ In file included from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/interpreter.h:4, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:6: /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/calculator.hpp: In member function 'void glmmr::calculator::update_parameters(const dblvec&)': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/calculator.hpp:64:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 64 | for(int i = 0; i < parameter_indexes.size(); i++)parameters[i] = parameters_in[parameter_indexes[i]]; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/calculator.hpp: In member function 'void glmmr::calculator::print_instructions() const': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/calculator.hpp:1336:30: warning: comparison of integer expressions of different signedness: 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'const int'} and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1336 | if(indexes[idx_iter] >= parameter_names.size()){ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/calculator.hpp:1351:30: warning: comparison of integer expressions of different signedness: 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'const int'} and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1351 | if(indexes[idx_iter] >= data_names.size()){ In file included from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/formula.hpp:6, from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:7: /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/formulaparse.h: In function 'bool glmmr::is_number(const std::string&)': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/formulaparse.h:12:11: warning: unused variable 'a' [-Wunused-variable] 12 | float a = std::stod(s); | ^ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/formulaparse.h: In function 'void glmmr::two_way_fn(std::vector<char>&, calculator&, const Eigen::ArrayXXd&, const strvec&, Eigen::MatrixXd&, int, bool)': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/formulaparse.h:223:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable] 223 | bool add_check, variable_in_data; | ^~~~~~~~~~~~~~~~ In file included from /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:8: /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/sparse.h: In function 'sparse glmmr::submat_sparse(const sparse&, intvec)': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/sparse.h:24:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 24 | for(int i = 0; i < rows.size(); i++){ | ~~^~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp: In member function 'virtual int glmmr::Covariance::parse()': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:281:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 281 | for(k = 0; k < fnvars[idx].size(); k++){ | ~~^~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:295:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 295 | for(j = 0; j< fnvars.size();j++){ | ~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:296:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 296 | for(k = 0; k < fnvars[j].size();k++){ | ~~^~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:314:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 314 | for(int m = 0; m < fnvars.size(); m++){ | ~~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:316:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 316 | for(int p = 0; p < fnvars[m].size(); p++){ | ~~^~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:323:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 323 | for(j = 0; j < groups.size(); j++){ | ~~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:336:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 336 | for(int m = 0; m < vals.size(); m++) vals[m] = data_(k,fnvars[idx][m]); | ~~^~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:362:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<glmmr::CovFunc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 362 | for(int j = 0; j < fn_.size(); j++){ | ~~^~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:368:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 368 | for(int k = 0; k < fn_[j].size(); k++) fn_name += covfunc_to_str.at(fn_[j][k]); | ~~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:369:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 369 | for(int k = 0; k < fn_[j].size(); k++){ | ~~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:393:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<glmmr::CovFunc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 393 | for(int i =0; i<fn_.size();i++){ | ~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:394:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 394 | for(int j = 0; j < re_pars_[i].size(); j++){ | ~~^~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:395:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 395 | for(int k = 0; k < re_pars_[i][j].size(); k++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:403:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<glmmr::CovFunc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 403 | for(int i =0; i<fn_.size();i++){ | ~^~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:410:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 410 | for(int j = 0; j<fn_[i].size();j++){ | ~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:414:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 414 | for(int j = 0; j<fn_[i].size();j++){ | ~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:437:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 437 | for(int k = 0; k < re_pars_[i][j].size(); k++)re_par_less_min_[k] -= minvalue; | ~~^~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:443:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 443 | for(int j = 0; j < (fn_[i].size()-1); j++){ | ~~^~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:457:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::calculator>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 457 | for(int i = 0; i < calc_.size(); i++){ | ~~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:464:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::calculator>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 464 | for(int i = 0; i < calc_.size(); i++) re_count_[re_order_[i]] += re_temp_data_[i].size(); | ~~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp: In member function 'void glmmr::Covariance::Z_updater()': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:524:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::ZNonZero>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 524 | for(int i = 0; i < z_nonzero.size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:525:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 525 | for(int j = 0; j < z_nonzero[i].rows.size(); j++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp: In member function 'virtual void glmmr::Covariance::update_parameters(const Eigen::ArrayXd&)': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:641:32: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long unsigned int'} and 'Eigen::EigenBase<Eigen::Array<double, -1, 1> >::Index' {aka 'long int'} [-Wsign-compare] 641 | } else if(parameters_.size() == parameters.size()){ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp: In member function 'bool glmmr::Covariance::any_group_re() const': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:1016:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<glmmr::CovFunc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1016 | for(int i = 0; i < fn_.size(); i++){ | ~~^~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:1017:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<glmmr::CovFunc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1017 | for(int j = 0; j < fn_[i].size(); j++){ | ~~^~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp: In member function 'strvec glmmr::Covariance::parameter_names()': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/covariance.hpp:1030:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1030 | for(int i = 0; i < form_.re_.size(); i++){ | ~~^~~~~~~~~~~~~~~~~~ In file included from ../inst/include/optim/optimclass.h:8, from ../inst/include/glmmrOptim.h:6, from gd_search.cpp:3: ../inst/include/optim/optimderivatives.h: In member function 'void glmmr::OptimDerivatives::addDesign(glmmr::Covariance&, bool)': ../inst/include/optim/optimderivatives.h:22:9: warning: unused variable 'curr_size' [-Wunused-variable] 22 | int curr_size = FirstOrderDerivatives.size(); | ^~~~~~~~~ ../inst/include/optim/optimclass.h: In member function 'Eigen::MatrixXd glmmr::OptimDesign::KR_correction(const Eigen::MatrixXd&, const int&, const Eigen::MatrixXd&, const Eigen::MatrixXd&, const Eigen::MatrixXd&, const Eigen::ArrayXi&)': ../inst/include/optim/optimclass.h:129:9: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector<glmmr::MatrixField<Eigen::Matrix<double, -1, -1> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 129 | if(idx>=derivs_.FirstOrderDerivatives.size() )Rcpp::stop("idx out of range"); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/optim/optimderivatives.h: In member function 'void glmmr::OptimDerivatives::addDesign(glmmr::Covariance&, bool)': ../inst/include/optim/optimderivatives.h:22:9: warning: unused variable 'curr_size' [-Wunused-variable] 22 | int curr_size = FirstOrderDerivatives.size(); | ^~~~~~~~~ ../inst/include/optim/optimclass.h: In member function 'Eigen::MatrixXd glmmr::OptimDesign::KR_correction(const Eigen::MatrixXd&, const int&, const Eigen::MatrixXd&, const Eigen::MatrixXd&, const Eigen::MatrixXd&, const Eigen::ArrayXi&)': ../inst/include/optim/optimclass.h:129:9: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector<glmmr::MatrixField<Eigen::Matrix<double, -1, -1> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 129 | if(idx>=derivs_.FirstOrderDerivatives.size() )Rcpp::stop("idx out of range"); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/maths.h: In instantiation of 'T glmmr::randomGaussian(T, Eigen::VectorXd&) [with T = boost::random::variate_generator<boost::random::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>, boost::random::normal_distribution<> >; Eigen::VectorXd = Eigen::Matrix<double, -1, 1>]': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/maths.h:660:19: required from here 660 | randomGaussian(generator, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/maths.h:47:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, -1, 1> >::Index' {aka 'long int'} [-Wsign-compare] 47 | for (size_t i = 0; i < res.size(); ++i) | ~~^~~~~~~~~~~~ In file included from ../inst/include/optim/optimdata.h:4, from ../inst/include/optim/optimclass.h:7: /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/matrixfield.h: In instantiation of 'T glmmr::MatrixField<T>::operator()(int) const [with T = Eigen::Matrix<double, -1, -1>]': ../inst/include/optim/optimclass.h:148:54: required from here 148 | partial1 = Z*derivs_.FirstOrderDerivatives[idx](i)*Z.transpose(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/matrixfield.h:38:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::unique_ptr<Eigen::Matrix<double, -1, -1>, std::default_delete<Eigen::Matrix<double, -1, -1> > >, std::allocator<std::unique_ptr<Eigen::Matrix<double, -1, -1>, std::default_delete<Eigen::Matrix<double, -1, -1> > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | if(i >= data.size()) throw std::runtime_error("Accessing index out of range matrix field"); | ~~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/maths.h: In instantiation of 'T glmmr::randomGaussian(T, Eigen::VectorXd&) [with T = boost::random::variate_generator<boost::random::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>, boost::random::normal_distribution<> >; Eigen::VectorXd = Eigen::Matrix<double, -1, 1>]': /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/maths.h:660:19: required from here 660 | randomGaussian(generator, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/maths.h:47:24: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, -1, 1> >::Index' {aka 'long int'} [-Wsign-compare] 47 | for (size_t i = 0; i < res.size(); ++i) | ~~^~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/matrixfield.h: In instantiation of 'T glmmr::MatrixField<T>::operator()(int) const [with T = Eigen::Matrix<double, -1, 1>]': ../inst/include/optim/optimclass.h:269:42: required from here 269 | vals(j) = c_obj_fun( M, data_.C_list_(j)); | ~~~~~~~~~~~~~^~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/matrixfield.h:38:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::unique_ptr<Eigen::Matrix<double, -1, 1>, std::default_delete<Eigen::Matrix<double, -1, 1> > >, std::allocator<std::unique_ptr<Eigen::Matrix<double, -1, 1>, std::default_delete<Eigen::Matrix<double, -1, 1> > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | if(i >= data.size()) throw std::runtime_error("Accessing index out of range matrix field"); | ~~^~~~~~~~~~~~~~ In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:46, from /data/gannet/ripley/R/test-dev/RcppEigen/include/RcppEigen.h:26: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = glmmr::Covariance]': gd_search.cpp:155:25: required from here 155 | XPtr<glmmr::Covariance> mptr(mptr_); | ^ /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'glmmr::Covariance' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 31 | delete obj; | ^~~~~~~~~~ In file included from ../inst/include/optim/optimdata.h:4, from ../inst/include/optim/optimclass.h:7: /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/matrixfield.h: In instantiation of 'T glmmr::MatrixField<T>::operator()(int) const [with T = Eigen::Matrix<double, -1, -1>]': ../inst/include/optim/optimclass.h:148:54: required from here 148 | partial1 = Z*derivs_.FirstOrderDerivatives[idx](i)*Z.transpose(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/matrixfield.h:38:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::unique_ptr<Eigen::Matrix<double, -1, -1>, std::default_delete<Eigen::Matrix<double, -1, -1> > >, std::allocator<std::unique_ptr<Eigen::Matrix<double, -1, -1>, std::default_delete<Eigen::Matrix<double, -1, -1> > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | if(i >= data.size()) throw std::runtime_error("Accessing index out of range matrix field"); | ~~^~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/matrixfield.h: In instantiation of 'T glmmr::MatrixField<T>::operator()(int) const [with T = Eigen::Matrix<double, -1, 1>]': ../inst/include/optim/optimclass.h:269:42: required from here 269 | vals(j) = c_obj_fun( M, data_.C_list_(j)); | ~~~~~~~~~~~~~^~~ /data/gannet/ripley/R/test-dev/glmmrBase/include/glmmr/matrixfield.h:38:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::unique_ptr<Eigen::Matrix<double, -1, 1>, std::default_delete<Eigen::Matrix<double, -1, 1> > >, std::allocator<std::unique_ptr<Eigen::Matrix<double, -1, 1>, std::default_delete<Eigen::Matrix<double, -1, 1> > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | if(i >= data.size()) throw std::runtime_error("Accessing index out of range matrix field"); | ~~^~~~~~~~~~~~~~ In member function 'sparse& sparse::operator=(sparse)', inlined from 'void SparseChol::update(const sparse&)' at /data/gannet/ripley/R/test-dev/SparseChol/include/sparseldl.h:64:21: /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:271:9: warning: '<anonymous>.sparse::m' may be used uninitialized [-Wmaybe-uninitialized] 271 | m = B.m; | ~~^ In file included from /data/gannet/ripley/R/test-dev/SparseChol/include/SparseChol.h:5: /data/gannet/ripley/R/test-dev/SparseChol/include/sparseldl.h: In member function 'void SparseChol::update(const sparse&)': /data/gannet/ripley/R/test-dev/SparseChol/include/sparseldl.h:64:21: note: '<anonymous>' declared here 64 | L = sparse(LAp); | ^ In member function 'sparse& sparse::operator=(sparse)', inlined from 'void SparseChol::update(const sparse&)' at /data/gannet/ripley/R/test-dev/SparseChol/include/sparseldl.h:64:21: /data/gannet/ripley/R/test-dev/SparseChol/include/sparsematrix.h:271:9: warning: '<anonymous>.sparse::m' may be used uninitialized [-Wmaybe-uninitialized] 271 | m = B.m; | ~~^ In file included from /data/gannet/ripley/R/test-dev/SparseChol/include/SparseChol.h:5: /data/gannet/ripley/R/test-dev/SparseChol/include/sparseldl.h: In member function 'void SparseChol::update(const sparse&)': /data/gannet/ripley/R/test-dev/SparseChol/include/sparseldl.h:64:21: note: '<anonymous>' declared here 64 | L = sparse(LAp); | ^ g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o glmmrOptim.so RcppExports.o gd_search.o -fopenmp -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/glmmrOptim/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/glmmrOptim/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/glmmrOptim/src' installing to /data/gannet/ripley/R/packages/tests-devel/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)