* installing *source* package ‘SparseChol’ ...
** package ‘SparseChol’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/SparseChol/src'
g++-13 -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   -c RcppExports.cpp -o RcppExports.o
g++-13 -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   -c chol.cpp -o chol.o
g++-13 -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   -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:342:18: 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]
  342 |     if(Ap[row]+p >= Ai.size()){
../inst/include/sparsematrix.h:349:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  349 |     for(int i = row+1; i < Ap.size(); i++)Ap[i]++;
      |                        ~~^~~~~~~~~~~
../inst/include/sparsematrix.h:361:18: 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]
  361 |     if(Ap[col]+p >= Ai.size()){
../inst/include/sparsematrix.h:368:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  368 |     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:383:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  383 |   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:415:10: warning: unused variable 'val' [-Wunused-variable]
  415 |   double val;
      |          ^~~
../inst/include/sparsematrix.h: In member function 'void sparse::AMD_order()':
../inst/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  625 |   double mem = 0;
      |          ^~~
../inst/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  626 |   int nz = Ap.back();
      |       ^~
../inst/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  815 |   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:342:18: 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]
  342 |     if(Ap[row]+p >= Ai.size()){
../inst/include/sparsematrix.h:349:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  349 |     for(int i = row+1; i < Ap.size(); i++)Ap[i]++;
      |                        ~~^~~~~~~~~~~
../inst/include/sparsematrix.h:361:18: 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]
  361 |     if(Ap[col]+p >= Ai.size()){
../inst/include/sparsematrix.h:368:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  368 |     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:383:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  383 |   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:415:10: warning: unused variable 'val' [-Wunused-variable]
  415 |   double val;
      |          ^~~
../inst/include/sparsematrix.h: In member function 'void sparse::AMD_order()':
../inst/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  625 |   double mem = 0;
      |          ^~~
../inst/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  626 |   int nz = Ap.back();
      |       ^~
../inst/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  815 |   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:342:18: 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]
  342 |     if(Ap[row]+p >= Ai.size()){
../inst/include/sparsematrix.h:349:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  349 |     for(int i = row+1; i < Ap.size(); i++)Ap[i]++;
      |                        ~~^~~~~~~~~~~
../inst/include/sparsematrix.h:361:18: 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]
  361 |     if(Ap[col]+p >= Ai.size()){
../inst/include/sparsematrix.h:368:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  368 |     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:383:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  383 |   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:415:10: warning: unused variable 'val' [-Wunused-variable]
  415 |   double val;
      |          ^~~
../inst/include/sparsematrix.h: In member function 'void sparse::AMD_order()':
../inst/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  625 |   double mem = 0;
      |          ^~~
../inst/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  626 |   int nz = Ap.back();
      |       ^~
../inst/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  815 |   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++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -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)