* installing *source* package ‘SparseChol’ ... ** this is package ‘SparseChol’ version ‘0.3.2’ ** package ‘SparseChol’ 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/SparseChol/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/usr/local/include -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/usr/local/include -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 chol.cpp -o chol.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/usr/local/include -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 test.cpp -o test.o In file included from ../inst/include/SparseChol.h:3, from RcppExports.cpp:4: ../inst/include/sparsematrix.h: In function 'int clear_flag(int, int, intvec&)': ../inst/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ ../inst/include/sparsematrix.h: In member function 'void sparse::insert(int, int, double)': ../inst/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()){ ../inst/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]++; | ~~^~~~~~~~~~~ ../inst/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()){ ../inst/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]++; | ~~^~~~~~~~~~~ ../inst/include/sparsematrix.h: In member function 'void sparse::transpose()': ../inst/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) { | ~~^~~~~~~~~~~~~ ../inst/include/sparsematrix.h: In member function 'sparse& sparse::operator+=(const sparse&)': ../inst/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable] 437 | double val; | ^~~ ../inst/include/sparsematrix.h: In member function 'void sparse::AMD_order()': ../inst/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable] 647 | double mem = 0; | ^~~ ../inst/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable] 648 | int nz = Ap.back(); | ^~ ../inst/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable] 837 | int deg, inext, ilast; | ^~~~~ In file included from ../inst/include/SparseChol.h:4: ../inst/include/operators.h: In function 'dblvec operator*(const sparse&, const dblvec&)': ../inst/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"); | ~~~~^~~~~~~~~~~ ../inst/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable] 14 | double val; | ^~~ ../inst/include/operators.h: In member function 'sparse& sparse::operator%=(const dblvec&)': ../inst/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++){ | ~~^~~~~~~~~~~ ../inst/include/operators.h: In function 'sparse SparseOperators::operator%(const sparse&, const Eigen::VectorXd&)': ../inst/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 ../inst/include/SparseChol.h:3, from chol.cpp:1: ../inst/include/sparsematrix.h: In function 'int clear_flag(int, int, intvec&)': ../inst/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ ../inst/include/sparsematrix.h: In member function 'void sparse::insert(int, int, double)': ../inst/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()){ ../inst/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]++; | ~~^~~~~~~~~~~ ../inst/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()){ ../inst/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]++; | ~~^~~~~~~~~~~ ../inst/include/sparsematrix.h: In member function 'void sparse::transpose()': ../inst/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) { | ~~^~~~~~~~~~~~~ ../inst/include/sparsematrix.h: In member function 'sparse& sparse::operator+=(const sparse&)': ../inst/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable] 437 | double val; | ^~~ ../inst/include/sparsematrix.h: In member function 'void sparse::AMD_order()': ../inst/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable] 647 | double mem = 0; | ^~~ ../inst/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable] 648 | int nz = Ap.back(); | ^~ ../inst/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable] 837 | int deg, inext, ilast; | ^~~~~ In file included from ../inst/include/SparseChol.h:4: ../inst/include/operators.h: In function 'dblvec operator*(const sparse&, const dblvec&)': ../inst/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"); | ~~~~^~~~~~~~~~~ ../inst/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable] 14 | double val; | ^~~ ../inst/include/operators.h: In member function 'sparse& sparse::operator%=(const dblvec&)': ../inst/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++){ | ~~^~~~~~~~~~~ ../inst/include/operators.h: In function 'sparse SparseOperators::operator%(const sparse&, const Eigen::VectorXd&)': ../inst/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++){ | ~~^~~~~ chol.cpp: In function 'SEXPREC* sparse_chol(Rcpp::NumericMatrix)': chol.cpp:75:7: warning: unused variable 'd' [-Wunused-variable] 75 | int d = chol.ldl_numeric(); | ^ In file included from ../inst/include/SparseChol.h:3, from test.cpp:1: ../inst/include/sparsematrix.h: In function 'int clear_flag(int, int, intvec&)': ../inst/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable] 145 | int x ; | ^ ../inst/include/sparsematrix.h: In member function 'void sparse::insert(int, int, double)': ../inst/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()){ ../inst/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]++; | ~~^~~~~~~~~~~ ../inst/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()){ ../inst/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]++; | ~~^~~~~~~~~~~ ../inst/include/sparsematrix.h: In member function 'void sparse::transpose()': ../inst/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) { | ~~^~~~~~~~~~~~~ ../inst/include/sparsematrix.h: In member function 'sparse& sparse::operator+=(const sparse&)': ../inst/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable] 437 | double val; | ^~~ ../inst/include/sparsematrix.h: In member function 'void sparse::AMD_order()': ../inst/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable] 647 | double mem = 0; | ^~~ ../inst/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable] 648 | int nz = Ap.back(); | ^~ ../inst/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable] 837 | int deg, inext, ilast; | ^~~~~ In file included from ../inst/include/SparseChol.h:4: ../inst/include/operators.h: In function 'dblvec operator*(const sparse&, const dblvec&)': ../inst/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"); | ~~~~^~~~~~~~~~~ ../inst/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable] 14 | double val; | ^~~ ../inst/include/operators.h: In member function 'sparse& sparse::operator%=(const dblvec&)': ../inst/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++){ | ~~^~~~~~~~~~~ ../inst/include/operators.h: In function 'sparse SparseOperators::operator%(const sparse&, const Eigen::VectorXd&)': ../inst/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++){ | ~~^~~~~ g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o SparseChol.so RcppExports.o chol.o test.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/SparseChol/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/SparseChol/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/SparseChol/src' installing to /data/gannet/ripley/R/packages/tests-devel/SparseChol.Rcheck/00LOCK-SparseChol/00new/SparseChol/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 (SparseChol)