* installing *source* package ‘MetricGraph’ ...
** package ‘MetricGraph’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MetricGraph/src'
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -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 CB.cpp -o CB.o
CB.cpp: In function 'Rcpp::List c_basis2(Eigen::MappedSparseMatrix<double>, double)':
CB.cpp:111:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  111 |       for(int i=0; i < col_index.size(); i++)
      |                    ~~^~~~~~~~~~~~~~~~~~
CB.cpp:116:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  116 |     for(int i = 0; i < col_index_A.size(); i++)
      |                    ~~^~~~~~~~~~~~~~~~~~~~
CB.cpp:122:27: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  122 |     if( index_temp.size() > n_largest_cluster){
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
CB.cpp:150:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  150 |     for(int i=0; i< col_index_A.size(); i++){
      |                  ~^~~~~~~~~~~~~~~~~~~~
CB.cpp:153:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  153 |       if(i < index_temp.size()){
      |          ~~^~~~~~~~~~~~~~~~~~~
CB.cpp:160:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  160 |       for(int j=0; j< col_index_A.size(); j++){
      |                    ~^~~~~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/Core:341,
                 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 CB.cpp:4:
/data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixVector.h: In function 'static void Eigen::internal::trmv_selector<Mode, 1>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, -1, false> >; Rhs = Eigen::Transpose<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, 1, true>, -1, 1, false> > > >; Dest = Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, false> >; int Mode = 6]':
/data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixVector.h:332:12: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized]
  327 |     internal::triangular_matrix_vector_product
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  328 |       <Index,Mode,
      |       ~~~~~~~~~~~~
  329 |        LhsScalar, LhsBlasTraits::NeedToConjugate,
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  330 |        RhsScalar, RhsBlasTraits::NeedToConjugate,
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  331 |        RowMajor>
      |        ~~~~~~~~~
  332 |       ::run(actualLhs.rows(),actualLhs.cols(),
      |       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  333 |             actualLhs.data(),actualLhs.outerStride(),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  334 |             actualRhsPtr,1,
      |             ~~~~~~~~~~~~~~~
  335 |             dest.data(),dest.innerStride(),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  336 |             actualAlpha);
      |             ~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixVector.h:105:24: note: by argument 5 of type 'const double*' to 'static void Eigen::internal::triangular_matrix_vector_product<Index, Mode, LhsScalar, ConjLhs, RhsScalar, ConjRhs, 1, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, const ResScalar&) [with Index = long int; int Mode = 6; LhsScalar = double; bool ConjLhs = false; RhsScalar = double; bool ConjRhs = false; int Version = 0]' declared here
  105 | EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor,Version>
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -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'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -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 aux_functions.cpp -o aux_functions.o
In file included from /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/Core:309,
                 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 aux_functions.cpp:4:
In constructor 'Eigen::internal::BlockImpl_dense<XprType, BlockRows, BlockCols, InnerPanel, true>::BlockImpl_dense(XprType&, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index) [with XprType = Eigen::Matrix<double, -1, -1>; int BlockRows = -1; int BlockCols = -1; bool InnerPanel = false]',
    inlined from 'Eigen::BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Eigen::Dense>::BlockImpl(XprType&, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index) [with XprType = Eigen::Matrix<double, -1, -1>; int BlockRows = -1; int BlockCols = -1; bool InnerPanel = false]' at /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/Block.h:166:59,
    inlined from 'Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Block(XprType&, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index) [with XprType = Eigen::Matrix<double, -1, -1>; int BlockRows = -1; int BlockCols = -1; bool InnerPanel = false]' at /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/Block.h:142:59,
    inlined from 'typename Eigen::DenseBase<Derived>::FixedBlockXpr<Eigen::internal::get_fixed_value<NRowsType>::value, Eigen::internal::get_fixed_value<NColsType>::value>::Type Eigen::DenseBase<Derived>::block(Eigen::Index, Eigen::Index, NRowsType, NColsType) [with NRowsType = int; NColsType = int; Derived = Eigen::Matrix<double, -1, -1>]' at /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/../plugins/BlockMethods.h:99:122,
    inlined from 'double proj_vec_line(Eigen::MatrixXd, Eigen::VectorXd, int)' at aux_functions.cpp:143:41:
/data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/Block.h:374:81: warning: 'min_index' may be used uninitialized [-Wmaybe-uninitialized]
  374 |       : Base(xpr.data()+xpr.innerStride()*(XprTypeIsRowMajor?startCol:startRow) + xpr.outerStride()*(XprTypeIsRowMajor?startRow:startCol), blockRows, blockCols),
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aux_functions.cpp: In function 'double proj_vec_line(Eigen::MatrixXd, Eigen::VectorXd, int)':
aux_functions.cpp:124:10: note: 'min_index' was declared here
  124 |   int i, min_index;
      |          ^~~~~~~~~
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 MetricGraph.so CB.o RcppExports.o aux_functions.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/MetricGraph/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MetricGraph/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/MetricGraph/src'
installing to /data/gannet/ripley/R/packages/tests-devel/MetricGraph.Rcheck/00LOCK-MetricGraph/00new/MetricGraph/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 (MetricGraph)