* installing *source* package ‘L0Learn’ ...
** package ‘L0Learn’ successfully unpacked and MD5 sums checked
** using staged installation
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++-13 -std=gnu++17 accepts -g... yes
checking how to run the C++ preprocessor... g++-13 -std=gnu++17 -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++-13 -std=gnu++17 accepts -g... (cached) yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/L0Learn/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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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 BetaVector.cpp -o BetaVector.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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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 CDL012LogisticSwaps.cpp -o CDL012LogisticSwaps.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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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 CDL012SquaredHingeSwaps.cpp -o CDL012SquaredHingeSwaps.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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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 CDL012Swaps.cpp -o CDL012Swaps.o
CDL012LogisticSwaps.cpp: In instantiation of 'FitResult<T> CDL012LogisticSwaps<T>::_Fit() [with T = arma::Mat<double>]':
CDL012LogisticSwaps.cpp:172:16:   required from here
CDL012LogisticSwaps.cpp:72:40: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare]
   72 |             for(std::size_t ll = 0; ll < std::min(50, (int) this->p); ++ll) {
      |                                     ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CDL012LogisticSwaps.cpp: In instantiation of 'FitResult<T> CDL012LogisticSwaps<T>::_Fit() [with T = arma::SpMat<double>]':
CDL012LogisticSwaps.cpp:173:16:   required from here
CDL012LogisticSwaps.cpp:72:40: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare]
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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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 Grid.cpp -o Grid.o
In file included from include/CDL012SquaredHingeSwaps.h:6,
                 from CDL012SquaredHingeSwaps.cpp:1:
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16:   required from here
include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  169 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16:   required from here
include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  123 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::SpMat<double>]':
include/CDL012SquaredHinge.h:206:16:   required from here
include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  169 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::SpMat<double>]':
include/CDL012SquaredHinge.h:206:16:   required from here
include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  123 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
CDL012Swaps.cpp: In instantiation of 'FitResult<T> CDL012Swaps<T>::_Fit() [with T = arma::Mat<double>]':
CDL012Swaps.cpp:97:16:   required from here
CDL012Swaps.cpp:17:12: warning: variable 'objective' set but not used [-Wunused-but-set-variable]
   17 |     double objective = result.Objective;
      |            ^~~~~~~~~
CDL012Swaps.cpp: In instantiation of 'FitResult<T> CDL012Swaps<T>::_Fit() [with T = arma::SpMat<double>]':
CDL012Swaps.cpp:98:16:   required from here
CDL012Swaps.cpp:17:12: warning: variable 'objective' set but not used [-Wunused-but-set-variable]
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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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 Grid1D.cpp -o Grid1D.o
In file included from include/MakeCD.h:10,
                 from include/Grid1D.h:10,
                 from include/Grid.h:9,
                 from Grid.cpp:1:
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16:   required from here
include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  169 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16:   required from here
include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  123 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::SpMat<double>]':
include/CDL012SquaredHinge.h:206:16:   required from here
include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  169 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::SpMat<double>]':
include/CDL012SquaredHinge.h:206:16:   required from here
include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  123 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
CDL012SquaredHingeSwaps.cpp: In member function 'FitResult<T> CDL012SquaredHingeSwaps<T>::_Fit() [with T = arma::Mat<double>]':
CDL012SquaredHingeSwaps.cpp:28:17: warning: 'maxindex' may be used uninitialized [-Wmaybe-uninitialized]
   28 |     std::size_t maxindex;
      |                 ^~~~~~~~
CDL012SquaredHingeSwaps.cpp:105:35: warning: 'Bmaxindex' may be used uninitialized [-Wmaybe-uninitialized]
  105 |                 this->B[maxindex] = Bmaxindex;
      |                 ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
CDL012SquaredHingeSwaps.cpp:29:12: note: 'Bmaxindex' was declared here
   29 |     double Bmaxindex;
      |            ^~~~~~~~~
CDL012SquaredHingeSwaps.cpp: In member function 'FitResult<T> CDL012SquaredHingeSwaps<T>::_Fit() [with T = arma::SpMat<double>]':
CDL012SquaredHingeSwaps.cpp:28:17: warning: 'maxindex' may be used uninitialized [-Wmaybe-uninitialized]
   28 |     std::size_t maxindex;
      |                 ^~~~~~~~
CDL012SquaredHingeSwaps.cpp:105:35: warning: 'Bmaxindex' may be used uninitialized [-Wmaybe-uninitialized]
  105 |                 this->B[maxindex] = Bmaxindex;
      |                 ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
CDL012SquaredHingeSwaps.cpp:29:12: note: 'Bmaxindex' was declared here
   29 |     double Bmaxindex;
      |            ^~~~~~~~~
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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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 Grid2D.cpp -o Grid2D.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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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 Interface.cpp -o Interface.o
In file included from include/MakeCD.h:10,
                 from include/Grid1D.h:10,
                 from Grid1D.cpp:1:
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16:   required from here
include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  169 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16:   required from here
include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  123 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::SpMat<double>]':
include/CDL012SquaredHinge.h:206:16:   required from here
include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  169 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::SpMat<double>]':
include/CDL012SquaredHinge.h:206:16:   required from here
include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  123 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
Grid1D.cpp: In instantiation of 'std::vector<std::unique_ptr<FitResult<T> > > Grid1D<T>::Fit() [with T = arma::Mat<double>]':
Grid1D.cpp:236:16:   required from here
Grid1D.cpp:194:26: warning: variable 'samesupp' set but not used [-Wunused-but-set-variable]
  194 |                     bool samesupp = false;
      |                          ^~~~~~~~
Grid1D.cpp: In instantiation of 'std::vector<std::unique_ptr<FitResult<T> > > Grid1D<T>::Fit() [with T = arma::SpMat<double>]':
Grid1D.cpp:237:16:   required from here
Grid1D.cpp:194:26: warning: variable 'samesupp' set but not used [-Wunused-but-set-variable]
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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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 Normalize.cpp -o Normalize.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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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
In file included from include/MakeCD.h:10,
                 from include/Grid1D.h:10,
                 from include/Grid.h:9,
                 from include/Interface.h:7,
                 from Interface.cpp:1:
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16:   required from here
include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  169 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16:   required from here
include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  123 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::SpMat<double>]':
include/CDL012SquaredHinge.h:206:16:   required from here
include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  169 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::SpMat<double>]':
include/CDL012SquaredHinge.h:206:16:   required from here
include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  123 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
In file included from include/MakeCD.h:10,
                 from include/Grid1D.h:10,
                 from include/Grid2D.h:8,
                 from Grid2D.cpp:1:
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16:   required from here
include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  169 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16:   required from here
include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  123 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::SpMat<double>]':
include/CDL012SquaredHinge.h:206:16:   required from here
include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  169 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::SpMat<double>]':
include/CDL012SquaredHinge.h:206:16:   required from here
include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
  123 |     for (auto t = 0; t < this->MaxIters; ++t) {
      |                      ~~^~~~~~~~~~~~~~~~
In file included from include/CD.h:9,
                 from include/MakeCD.h:5:
include/utils.h: In instantiation of 'arma::sp_mat matrix_rows_get(const arma::sp_mat&, T1) [with T1 = arma::Col<unsigned int>; arma::sp_mat = arma::SpMat<double>]':
Interface.cpp:225:34:   required from 'Rcpp::List _L0LearnCV(const T&, const arma::vec&, std::string, std::string, std::string, unsigned int, unsigned int, unsigned int, double, double, bool, unsigned int, double, double, bool, unsigned int, unsigned int, double, unsigned int, bool, std::vector<std::vector<double> >, unsigned int, double, unsigned int, bool, bool, const arma::vec&, const arma::vec&) [with T = arma::SpMat<double>; Rcpp::List = Rcpp::Vector<19>; arma::vec = arma::Col<double>; std::string = std::__cxx11::basic_string<char>]'
Interface.cpp:337:22:   required from here
include/utils.h:44:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   44 |     for (auto i = 0; i < vector_of_row_indices.n_elem; i++){
      |                      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/CD.h:9,
                 from include/MakeCD.h:5:
include/utils.h: In instantiation of 'arma::sp_mat matrix_rows_get(const arma::sp_mat&, T1) [with T1 = arma::Col<unsigned int>; arma::sp_mat = arma::SpMat<double>]':
Grid2D.cpp:69:41:   required from 'std::vector<std::vector<std::unique_ptr<FitResult<T> > > > Grid2D<T>::Fit() [with T = arma::SpMat<double>]'
Grid2D.cpp:126:16:   required from here
include/utils.h:44:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   44 |     for (auto i = 0; i < vector_of_row_indices.n_elem; i++){
      |                      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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_Interface.cpp -o Test_Interface.o
In file included from /usr/local/gcc13/include/c++/13.2.0/vector:66,
                 from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:60,
                 from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:29,
                 from include/Grid2D.h:4:
In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = double; _Alloc = std::allocator<double>]',
    inlined from 'std::vector<std::vector<std::unique_ptr<FitResult<T> > > > Grid2D<T>::Fit() [with T = arma::Mat<double>]' at Grid2D.cpp:110:25:
/usr/local/gcc13/include/c++/13.2.0/bits/stl_vector.h:1126:41: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized]
 1126 |         return *(this->_M_impl._M_start + __n);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
Grid2D.cpp: In member function 'std::vector<std::vector<std::unique_ptr<FitResult<T> > > > Grid2D<T>::Fit() [with T = arma::Mat<double>]':
Grid2D.cpp:82:17: note: 'index' was declared here
   82 |     std::size_t index;
      |                 ^~~~~
In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = double; _Alloc = std::allocator<double>]',
    inlined from 'std::vector<std::vector<std::unique_ptr<FitResult<T> > > > Grid2D<T>::Fit() [with T = arma::SpMat<double>]' at Grid2D.cpp:110:25:
/usr/local/gcc13/include/c++/13.2.0/bits/stl_vector.h:1126:41: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized]
 1126 |         return *(this->_M_impl._M_start + __n);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
Grid2D.cpp: In member function 'std::vector<std::vector<std::unique_ptr<FitResult<T> > > > Grid2D<T>::Fit() [with T = arma::SpMat<double>]':
Grid2D.cpp:82:17: note: 'index' was declared here
   82 |     std::size_t index;
      |                 ^~~~~
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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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 profile.cpp -o profile.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/RcppArmadillo/include' -I/usr/local/include   "-Iinclude" -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
In file included from include/Test_Interface.h:5,
                 from Test_Interface.cpp:1:
include/utils.h: In instantiation of 'arma::sp_mat matrix_rows_get(const arma::sp_mat&, T1) [with T1 = arma::Col<unsigned int>; arma::sp_mat = arma::SpMat<double>]':
Test_Interface.cpp:22:27:   required from here
include/utils.h:44:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   44 |     for (auto i = 0; i < vector_of_row_indices.n_elem; i++){
      |                      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils.cpp: In function 'arma::rowvec matrix_normalize(arma::sp_mat&)':
utils.cpp:36:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   36 |     for (auto col = 0; col < p; col++){
      |                        ~~~~^~~
utils.cpp:43:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   43 |     for (auto col = 0; col < p; col++){
      |                        ~~~~^~~
utils.cpp: In function 'arma::rowvec matrix_normalize(arma::mat&)':
utils.cpp:61:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   61 |     for (auto col = 0; col < p; col++) {
      |                        ~~~~^~~
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 L0Learn.so BetaVector.o CDL012LogisticSwaps.o CDL012SquaredHingeSwaps.o CDL012Swaps.o Grid.o Grid1D.o Grid2D.o Interface.o Normalize.o RcppExports.o Test_Interface.o profile.o utils.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/L0Learn/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/L0Learn/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/L0Learn/src'
installing to /data/gannet/ripley/R/packages/tests-devel/L0Learn.Rcheck/00LOCK-L0Learn/00new/L0Learn/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (L0Learn)