* installing *source* package ‘MLModelSelection’ ... ** this is package ‘MLModelSelection’ version ‘1.0’ ** package ‘MLModelSelection’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’ using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-CXX20/MLModelSelection/src' g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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 MLModelSelection.cpp -o MLModelSelection.o MLModelSelection.cpp: In constructor ‘MLModelSelection::MLModelSelection(int, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List)’: MLModelSelection.cpp:111:28: error: reference to ‘span’ is ambiguous 111 | rowvec X_row(X(span(i), span(t), span::all)); | ^~~~ In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo:155, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32, from /data/gannet/ripley/R/test-dev/RcppDist/include/RcppDist.h:26, from MLModelSelection.h:38, from MLModelSelection.cpp:11: /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ In file included from /usr/include/c++/15/format:51, from /usr/include/c++/15/bits/chrono_io.h:41, from /usr/include/c++/15/chrono:3378, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo:53: /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:111:37: error: reference to ‘span’ is ambiguous 111 | rowvec X_row(X(span(i), span(t), span::all)); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:111:46: error: reference to ‘span’ is ambiguous 111 | rowvec X_row(X(span(i), span(t), span::all)); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp: In member function ‘arma::mat MLModelSelection::Dit(int, int, arma::vec, arma::mat)’: MLModelSelection.cpp:203:58: error: reference to ‘span’ is ambiguous 203 | F(l, m) = cos(F_tmp(l, m))*prod(sin(F_tmp(l, span(0, m-1) ))); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:206:37: error: reference to ‘span’ is ambiguous 206 | F(m, m) = prod(sin(F_tmp(m, span(0, m-1) ))); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:211:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 211 | for(int ii=0; ii | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:361:41: error: reference to ‘span’ is ambiguous 361 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:361:56: error: reference to ‘span’ is ambiguous 361 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp: In member function ‘void MLModelSelection::Update_delta(int)’: MLModelSelection.cpp:426:48: error: reference to ‘span’ is ambiguous 426 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:426:57: error: reference to ‘span’ is ambiguous 426 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:426:72: error: reference to ‘span’ is ambiguous 426 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp: In member function ‘void MLModelSelection::Update_alpha(int)’: MLModelSelection.cpp:474:47: error: reference to ‘span’ is ambiguous 474 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); //vectorise((mat)Y.row(i), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:474:56: error: reference to ‘span’ is ambiguous 474 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); //vectorise((mat)Y.row(i), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:474:71: error: reference to ‘span’ is ambiguous 474 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); //vectorise((mat)Y.row(i), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp: In member function ‘void MLModelSelection::Update_delta_alpha(int)’: MLModelSelection.cpp:530:43: error: reference to ‘span’ is ambiguous 530 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); //vectorise((mat)Y.row(i), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:530:52: error: reference to ‘span’ is ambiguous 530 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); //vectorise((mat)Y.row(i), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:530:67: error: reference to ‘span’ is ambiguous 530 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); //vectorise((mat)Y.row(i), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp: In member function ‘void MLModelSelection::Update_lambda(int)’: MLModelSelection.cpp:573:31: error: reference to ‘span’ is ambiguous 573 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:573:40: error: reference to ‘span’ is ambiguous 573 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:573:55: error: reference to ‘span’ is ambiguous 573 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp: In member function ‘void MLModelSelection::Update_nu(int)’: MLModelSelection.cpp:599:31: error: reference to ‘span’ is ambiguous 599 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:599:40: error: reference to ‘span’ is ambiguous 599 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:599:55: error: reference to ‘span’ is ambiguous 599 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp: In member function ‘void MLModelSelection::ParameterEstimation()’: MLModelSelection.cpp:681:31: error: reference to ‘span’ is ambiguous 681 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:681:40: error: reference to ‘span’ is ambiguous 681 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:681:55: error: reference to ‘span’ is ambiguous 681 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:712:35: error: reference to ‘span’ is ambiguous 712 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:712:44: error: reference to ‘span’ is ambiguous 712 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ MLModelSelection.cpp:712:59: error: reference to ‘span’ is ambiguous 712 | yi = vectorise((mat)Y(span(i), span(0, tp-1), span::all), 1).t(); | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: candidates are: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ make[1]: *** [/data/gannet/ripley/R/cxx20/etc/Makeconf:201: MLModelSelection.o] Error 1 g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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 gcc -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/include' -I/usr/local/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 registerDynamicSymbol.c -o registerDynamicSymbol.o make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-CXX20/MLModelSelection/src' ERROR: compilation failed for package ‘MLModelSelection’ * removing ‘/data/gannet/ripley/R/packages/tests-CXX20/MLModelSelection.Rcheck/MLModelSelection’