* installing *source* package ‘approxOT’ ...
** package ‘approxOT’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (GCC) 13.2.0’
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/approxOT/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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 cost.cpp -o cost.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 hilbert_cgal.cpp -o hilbert_cgal.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 hilbert_projection.cpp -o hilbert_projection.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 networkflow.cpp -o networkflow.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 round_feasible.cpp -o round_feasible.o
gcc-13 -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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/include -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c shortsimplex.c -o shortsimplex.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 sort.cpp -o sort.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 systematic_sample.cpp -o systematic_sample.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 trans_approxOT.cpp -o trans_approxOT.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 trans_greenkhorn.cpp -o trans_greenkhorn.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 trans_hilbert.cpp -o trans_hilbert.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 trans_rank.cpp -o trans_rank.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 trans_shortsimplex.cpp -o trans_shortsimplex.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 trans_sinkhorn.cpp -o trans_sinkhorn.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 trans_swap.cpp -o trans_swap.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 trans_univariate.cpp -o trans_univariate.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 trans_univariate_approx_pwr.cpp -o trans_univariate_approx_pwr.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 transport.cpp -o transport.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 utils.cpp -o utils.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'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -I../inst/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 wasserstein.cpp -o wasserstein.o
In file included from ../inst/include/networkflow.h:8,
                 from networkflow.cpp:1:
../inst/include/network_simplex_simple.h:486: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
  486 | #pragma omp parallel
      | 
../inst/include/network_simplex_simple.h:494: warning: ignoring '#pragma omp for' [-Wunknown-pragmas]
  494 | #pragma omp for schedule(static, bs) lastprivate(e)
      | 
../inst/include/network_simplex_simple.h:896: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
  896 | #pragma omp parallel for schedule(static)
      | 
../inst/include/network_simplex_simple.h:1450: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
 1450 | #pragma omp parallel for
      | 
../inst/include/network_simplex_simple.h:1470: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
 1470 | #pragma omp parallel for
      | 
In file included from ../inst/include/networkflow.h:8,
                 from ../inst/include/transport.h:9,
                 from transport.cpp:1:
../inst/include/network_simplex_simple.h:486: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
  486 | #pragma omp parallel
      | 
../inst/include/network_simplex_simple.h:494: warning: ignoring '#pragma omp for' [-Wunknown-pragmas]
  494 | #pragma omp for schedule(static, bs) lastprivate(e)
      | 
../inst/include/network_simplex_simple.h:896: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
  896 | #pragma omp parallel for schedule(static)
      | 
../inst/include/network_simplex_simple.h:1450: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
 1450 | #pragma omp parallel for
      | 
../inst/include/network_simplex_simple.h:1470: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]
 1470 | #pragma omp parallel for
      | 
In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:18,
                 from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/vector_property_map.hpp:14,
                 from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/property_map.hpp:598,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/property_map.h:18,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/Spatial_sort_traits_adapter_d.h:18,
                 from ../inst/include/hilbert_cgal.h:7,
                 from hilbert_projection.cpp:2:
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  361 |     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
      |                                 ^~~~~~~~
In file included from /usr/local/gcc13/include/c++/13.2.0/bits/std_thread.h:43,
                 from /usr/local/gcc13/include/c++/13.2.0/thread:45,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/config.h:425,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/basic.h:21,
                 from ../inst/include/hilbert_cgal.h:4:
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
      |                                                                 ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  508 |     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
      |                               ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  521 |     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
      |                      ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  604 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                                  ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  613 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                                  ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)':
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  615 |         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
      |                                      ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
networkflow.cpp: In function 'void trans_networkflow(const Eigen::VectorXd&, const Eigen::VectorXd&, const matrix&, matrix&, int, bool, int)':
networkflow.cpp:50:10: warning: unused variable 'resultdist' [-Wunused-variable]
   50 |   double resultdist = net.totalCost();
      |          ^~~~~~~~~~
sort.cpp: In function 'void rel_sort_matrix_by_col(refMat, Eigen::DenseBase<Eigen::Matrix<int, -1, -1> >::ColXpr)':
sort.cpp:240:7: warning: unused variable 'P' [-Wunused-variable]
  240 |   int P = v.rows();
      |       ^
sort.cpp: In function 'void rel_sort_matrix_by_col(refMat, vectorI&)':
sort.cpp:257:7: warning: unused variable 'P' [-Wunused-variable]
  257 |   int P = v.rows();
      |       ^
trans_greenkhorn.cpp: In function 'void trans_greenkhorn(const refVecConst&, const refVecConst&, const matrix&, matrix&, double, double, int)':
trans_greenkhorn.cpp:92:7: warning: unused variable 'N' [-Wunused-variable]
   92 |   int N = mass_a.size();
      |       ^
trans_greenkhorn.cpp:93:7: warning: unused variable 'M' [-Wunused-variable]
   93 |   int M = mass_b.size();
      |       ^
../inst/include/network_simplex_simple.h: In member function 'bool lemon::NetworkSimplexSimple<GR, V, C, ArcsType>::BlockSearchPivotRule::findEnteringArc() [with GR = lemon::FullBipartiteDigraph; V = double; C = double; ArcsType = long long int]':
../inst/include/network_simplex_simple.h:513:13: warning: 'e' may be used uninitialized [-Wmaybe-uninitialized]
  513 |   _next_arc = e;
      |   ~~~~~~~~~~^~~
../inst/include/network_simplex_simple.h:484:18: note: 'e' was declared here
  484 |         ArcsType e;
      |                  ^
In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:18,
                 from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/vector_property_map.hpp:14,
                 from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/property_map.hpp:598,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/property_map.h:18,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/Spatial_sort_traits_adapter_d.h:18,
                 from ../inst/include/hilbert_cgal.h:7,
                 from hilbert_cgal.cpp:1:
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  361 |     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
      |                                 ^~~~~~~~
In file included from /usr/local/gcc13/include/c++/13.2.0/bits/std_thread.h:43,
                 from /usr/local/gcc13/include/c++/13.2.0/thread:45,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/config.h:425,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/basic.h:21,
                 from ../inst/include/hilbert_cgal.h:4:
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
      |                                                                 ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  508 |     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
      |                               ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  521 |     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
      |                      ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  604 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                                  ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  613 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                                  ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)':
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  615 |         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
      |                                      ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:18,
                 from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/vector_property_map.hpp:14,
                 from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/property_map.hpp:598,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/property_map.h:18,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/Spatial_sort_traits_adapter_d.h:18,
                 from ../inst/include/hilbert_cgal.h:7,
                 from ../inst/include/trans_hilbert.h:5,
                 from ../inst/include/transport.h:8:
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  361 |     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
      |                                 ^~~~~~~~
In file included from /usr/local/gcc13/include/c++/13.2.0/bits/std_thread.h:43,
                 from /usr/local/gcc13/include/c++/13.2.0/thread:45,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/config.h:425,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/basic.h:21,
                 from ../inst/include/hilbert_cgal.h:4:
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
      |                                                                 ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  508 |     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
      |                               ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  521 |     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
      |                      ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  604 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                                  ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  613 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                                  ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)':
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  615 |         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
      |                                      ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
trans_sinkhorn.cpp: In function 'void trans_sinkhorn_log(const refVecConst&, const refVecConst&, const matrix&, matrix&, double, double, int, vector&, vector&)':
trans_sinkhorn.cpp:283:7: warning: unused variable 'M' [-Wunused-variable]
  283 |   int M = mass_b.size();
      |       ^
In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:18,
                 from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/vector_property_map.hpp:14,
                 from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/property_map.hpp:598,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/property_map.h:18,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/Spatial_sort_traits_adapter_d.h:18,
                 from ../inst/include/hilbert_cgal.h:7,
                 from ../inst/include/trans_hilbert.h:5,
                 from trans_hilbert.cpp:1:
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  361 |     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
      |                                 ^~~~~~~~
In file included from /usr/local/gcc13/include/c++/13.2.0/bits/std_thread.h:43,
                 from /usr/local/gcc13/include/c++/13.2.0/thread:45,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/config.h:425,
                 from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/basic.h:21,
                 from ../inst/include/hilbert_cgal.h:4:
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
      |                                                                 ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  508 |     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
      |                               ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  521 |     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
      |                      ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  604 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                                  ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  613 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                                  ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)':
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  615 |         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
      |                                      ^~~~~~~~
/usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
g++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o approxOT.so RcppExports.o cost.o hilbert_cgal.o hilbert_projection.o networkflow.o round_feasible.o shortsimplex.o sort.o systematic_sample.o trans_approxOT.o trans_greenkhorn.o trans_hilbert.o trans_rank.o trans_shortsimplex.o trans_sinkhorn.o trans_swap.o trans_univariate.o trans_univariate_approx_pwr.o transport.o utils.o wasserstein.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/approxOT/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/approxOT/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/approxOT/src'
installing to /data/gannet/ripley/R/packages/tests-devel/approxOT.Rcheck/00LOCK-approxOT/00new/approxOT/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 (approxOT)