* installing *source* package ‘UComp’ ... ** this is package ‘UComp’ version ‘5.1.5’ ** package ‘UComp’ successfully unpacked and MD5 sums checked ** using staged installation ** libs 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/UComp/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/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++ -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/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 UCompC.cpp -o UCompC.o In file included from BSMmodel.h:15, from UCompC.cpp:6: DJPTtools.h: In function ‘arma::mat lag(arma::vec, T)’: DJPTtools.h:110:21: error: reference to ‘span’ is ambiguous [-Wtemplate-body] 110 | lagY.col(i) = y(span(maxLag - ii, n - ii - 1)); | ^~~~ 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, 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 UCompC.cpp:2: /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo:155: /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ In file included from BSMmodel.h:17: stats.h: In function ‘void acf(arma::vec&, int, arma::vec&)’: stats.h:75:15: error: reference to ‘span’ is ambiguous 75 | prod = yn(span(i + 1, n - 1)) % yn(span(0, n - i - 2)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:75:40: error: reference to ‘span’ is ambiguous 75 | prod = yn(span(i + 1, n - 1)) % yn(span(0, n - i - 2)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h: In function ‘double adfTest(arma::vec&, arma::vec, double&, double&, double&)’: stats.h:123:33: error: reference to ‘span’ is ambiguous 123 | mat X = join_rows(join_rows(y(span(maxLag + 1, n - 1)), y(span(maxLag, n - 2))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:123:61: error: reference to ‘span’ is ambiguous 123 | mat X = join_rows(join_rows(y(span(maxLag + 1, n - 1)), y(span(maxLag, n - 2))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:124:27: error: reference to ‘span’ is ambiguous 124 | lag(y(span(1, n - 1)) - y(span(0, n - 2)), lags)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:124:47: error: reference to ‘span’ is ambiguous 124 | lag(y(span(1, n - 1)) - y(span(0, n - 2)), lags)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:128:28: error: reference to ‘span’ is ambiguous 128 | regress(X.col(0), X.cols(span(1, maxLag + 1)), beta, stdBeta, e, BIC, AIC, AICc); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h: In function ‘void harmonicRegress(arma::vec&, arma::mat&, arma::vec, arma::uword, arma::vec&, arma::vec&, arma::vec&, arma::vec&)’: stats.h:187:16: error: reference to ‘span’ is ambiguous 187 | X.cols(span(0, nHarm - 1)) = kron(w, t); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:188:16: error: reference to ‘span’ is ambiguous 188 | X.cols(span(nHarm, 2 * nHarm - 1 - minus)) = sin(X.cols(span(0, nHarm - 1 - minus))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:188:65: error: reference to ‘span’ is ambiguous 188 | X.cols(span(nHarm, 2 * nHarm - 1 - minus)) = sin(X.cols(span(0, nHarm - 1 - minus))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:189:16: error: reference to ‘span’ is ambiguous 189 | X.cols(span(0, nHarm - 1)) = cos(X.cols(span(0, nHarm - 1))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:189:49: error: reference to ‘span’ is ambiguous 189 | X.cols(span(0, nHarm - 1)) = cos(X.cols(span(0, nHarm - 1))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:199:16: error: reference to ‘span’ is ambiguous 199 | X.cols(span(pos, pos + k - 1)) = u.submat(0, 0, k - 1, n - 1).t(); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h: In function ‘void selectHarmonics(arma::vec&, arma::mat&, arma::vec, arma::uvec&, arma::vec&, std::string&)’: stats.h:229:19: error: reference to ‘span’ is ambiguous 229 | uvec aux = (ind(span(0, nHarm - 1)) + ind(span(nHarm, 2 * nHarm - 1)) > 0); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:229:45: error: reference to ‘span’ is ambiguous 229 | uvec aux = (ind(span(0, nHarm - 1)) + ind(span(nHarm, 2 * nHarm - 1)) > 0); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h: In function ‘void selectAR(arma::vec&, double, std::string, arma::vec&, arma::vec&, double&, arma::vec&)’: stats.h:257:32: error: reference to ‘span’ is ambiguous 257 | regress(X.col(0), X.cols(span(1, i)), beta, stdBeta, e, BIC, AIC, AICc); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h: In function ‘void selectARMA(arma::vec, double, double, std::string, arma::vec&, arma::vec&)’: stats.h:304:19: error: reference to ‘span’ is ambiguous 304 | regress(X(span(ind(0), ind(1)), 0), X(span(ind(0), ind(1)), span(1, orders(0) + 1)), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:304:47: error: reference to ‘span’ is ambiguous 304 | regress(X(span(ind(0), ind(1)), 0), X(span(ind(0), ind(1)), span(1, orders(0) + 1)), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:304:69: error: reference to ‘span’ is ambiguous 304 | regress(X(span(ind(0), ind(1)), 0), X(span(ind(0), ind(1)), span(1, orders(0) + 1)), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:307:19: error: reference to ‘span’ is ambiguous 307 | regress(X(span(ind(0), ind(1)), 0), join_rows(X(span(ind(0), ind(1)), span(1, orders(0) + 1)), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:307:57: error: reference to ‘span’ is ambiguous 307 | regress(X(span(ind(0), ind(1)), 0), join_rows(X(span(ind(0), ind(1)), span(1, orders(0) + 1)), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:307:79: error: reference to ‘span’ is ambiguous 307 | regress(X(span(ind(0), ind(1)), 0), join_rows(X(span(ind(0), ind(1)), span(1, orders(0) + 1)), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:308:30: error: reference to ‘span’ is ambiguous 308 | eData.cols(span(0, orders(1) - 1))), beta1, stdBeta, e, BIC, AIC, AICc); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:321:19: error: reference to ‘span’ is ambiguous 321 | regress(X(span(ind(0), ind(1)), 0), eData.cols(span(0, orders(1))), beta2, stdBeta, e, BIC, AIC, AICc); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:321:56: error: reference to ‘span’ is ambiguous 321 | regress(X(span(ind(0), ind(1)), 0), eData.cols(span(0, orders(1))), beta2, stdBeta, e, BIC, AIC, AICc); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:323:19: error: reference to ‘span’ is ambiguous 323 | regress(X(span(ind(0), ind(1)), 0), join_rows(X(span(ind(0), ind(1)), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:323:57: error: reference to ‘span’ is ambiguous 323 | regress(X(span(ind(0), ind(1)), 0), join_rows(X(span(ind(0), ind(1)), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:323:79: error: reference to ‘span’ is ambiguous 323 | regress(X(span(ind(0), ind(1)), 0), join_rows(X(span(ind(0), ind(1)), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:324:30: error: reference to ‘span’ is ambiguous 324 | eData.cols(span(0, orders(1)))), beta2, stdBeta, e, BIC, AIC, AICc); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:355:13: error: reference to ‘span’ is ambiguous 355 | betaOpt(span(0, orders(0) - 1)) = -betaOpt(span(0, orders(0) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:355:48: error: reference to ‘span’ is ambiguous 355 | betaOpt(span(0, orders(0) - 1)) = -betaOpt(span(0, orders(0) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h: In function ‘void linearARMA(arma::vec&, arma::vec, arma::vec&, arma::vec&)’: stats.h:380:15: error: reference to ‘span’ is ambiguous 380 | regress(X(span(aux(0) - dim, aux(0) - 1), span(0)), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:380:47: error: reference to ‘span’ is ambiguous 380 | regress(X(span(aux(0) - dim, aux(0) - 1), span(0)), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:381:19: error: reference to ‘span’ is ambiguous 381 | eData(span(aux(1) - dim, aux(1) - 1), span(0, orders(1) - 1)), beta, stdBeta, e, BIC, AIC, AICc); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:381:51: error: reference to ‘span’ is ambiguous 381 | eData(span(aux(1) - dim, aux(1) - 1), span(0, orders(1) - 1)), beta, stdBeta, e, BIC, AIC, AICc); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:383:15: error: reference to ‘span’ is ambiguous 383 | regress(X(span(aux(0) - dim, aux(0) - 1), span(0)), X(span(aux(0) - dim, aux(0) - 1), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:383:47: error: reference to ‘span’ is ambiguous 383 | regress(X(span(aux(0) - dim, aux(0) - 1), span(0)), X(span(aux(0) - dim, aux(0) - 1), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:383:59: error: reference to ‘span’ is ambiguous 383 | regress(X(span(aux(0) - dim, aux(0) - 1), span(0)), X(span(aux(0) - dim, aux(0) - 1), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:383:91: error: reference to ‘span’ is ambiguous 383 | regress(X(span(aux(0) - dim, aux(0) - 1), span(0)), X(span(aux(0) - dim, aux(0) - 1), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:386:15: error: reference to ‘span’ is ambiguous 386 | regress(X(span(aux(0) - dim, aux(0) - 1), span(0)), join_rows(X(span(aux(0) - dim, aux(0) - 1), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:386:47: error: reference to ‘span’ is ambiguous 386 | regress(X(span(aux(0) - dim, aux(0) - 1), span(0)), join_rows(X(span(aux(0) - dim, aux(0) - 1), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:386:69: error: reference to ‘span’ is ambiguous 386 | regress(X(span(aux(0) - dim, aux(0) - 1), span(0)), join_rows(X(span(aux(0) - dim, aux(0) - 1), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:386:101: error: reference to ‘span’ is ambiguous 386 | regress(X(span(aux(0) - dim, aux(0) - 1), span(0)), join_rows(X(span(aux(0) - dim, aux(0) - 1), span(1, orders(0))), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:387:21: error: reference to ‘span’ is ambiguous 387 | eData(span(aux(1) - dim, aux(1) - 1), span(0, orders(1) - 1))), beta, stdBeta, e, BIC, AIC, AICc); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:387:53: error: reference to ‘span’ is ambiguous 387 | eData(span(aux(1) - dim, aux(1) - 1), span(0, orders(1) - 1))), beta, stdBeta, e, BIC, AIC, AICc); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:391:10: error: reference to ‘span’ is ambiguous 391 | beta(span(0, orders(0) - 1)) = -beta(span(0, orders(0) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:391:42: error: reference to ‘span’ is ambiguous 391 | beta(span(0, orders(0) - 1)) = -beta(span(0, orders(0) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h: In function ‘void heterosk(arma::vec&, double&, double&, int&)’: stats.h:426:24: error: reference to ‘span’ is ambiguous 426 | double cov1 = var(yn(span(0, i1))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ stats.h:427:24: error: reference to ‘span’ is ambiguous 427 | double cov2 = var(yn(span(i2, n - 1))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ In file included from BSMmodel.h:19: SSpace.h: In member function ‘void SSmodel::forecast()’: SSpace.h:282:19: error: reference to ‘span’ is ambiguous 282 | inputs.yFor(span(i)) = Z * at; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:284:23: error: reference to ‘span’ is ambiguous 284 | inputs.yFor(span(i)) += inputs.system.D; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:286:23: error: reference to ‘span’ is ambiguous 286 | inputs.yFor(span(i)) += inputs.system.D * SSmodel::inputs.u.col(n + i); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:288:19: error: reference to ‘span’ is ambiguous 288 | inputs.FFor(span(i)) = Z * Pt * Z.t() + CHCt; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h: In function ‘double llik(arma::vec&, void*)’: SSpace.h:652:15: error: reference to ‘span’ is ambiguous 652 | data->v(span(0, data->d_t)).fill(datum::nan); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h: In function ‘arma::vec gradLlik(arma::vec&, void*, double, int&)’: SSpace.h:879:13: error: reference to ‘span’ is ambiguous 879 | sysmatQ(span(0, cQ - 1), span(0, cQ - 1)) = data->system.Q; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:879:30: error: reference to ‘span’ is ambiguous 879 | sysmatQ(span(0, cQ - 1), span(0, cQ - 1)) = data->system.Q; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:880:13: error: reference to ‘span’ is ambiguous 880 | sysmatQ(span(cQ), span(cQ)) = data->system.H; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:880:23: error: reference to ‘span’ is ambiguous 880 | sysmatQ(span(cQ), span(cQ)) = data->system.H; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:881:13: error: reference to ‘span’ is ambiguous 881 | sysmatR(span(0, ns - 1), span(0, cQ - 1)) = data->system.R; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:881:30: error: reference to ‘span’ is ambiguous 881 | sysmatR(span(0, ns - 1), span(0, cQ - 1)) = data->system.R; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:882:13: error: reference to ‘span’ is ambiguous 882 | sysmatR(span(ns), span(cQ)) = data->system.C; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:882:23: error: reference to ‘span’ is ambiguous 882 | sysmatR(span(ns), span(cQ)) = data->system.C; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:883:11: error: reference to ‘span’ is ambiguous 883 | Gamma(span(0, ns - 1), span(0, ns - 1)) = GammaQ; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:883:28: error: reference to ‘span’ is ambiguous 883 | Gamma(span(0, ns - 1), span(0, ns - 1)) = GammaQ; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:884:11: error: reference to ‘span’ is ambiguous 884 | Gamma(span(ns), span(ns)) = GammaD; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:884:21: error: reference to ‘span’ is ambiguous 884 | Gamma(span(ns), span(ns)) = GammaD; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:890:10: error: reference to ‘span’ is ambiguous 890 | Qt(span(0, cQ - 1), span(0, cQ - 1)) = data->system.Q; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:890:27: error: reference to ‘span’ is ambiguous 890 | Qt(span(0, cQ - 1), span(0, cQ - 1)) = data->system.Q; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:891:10: error: reference to ‘span’ is ambiguous 891 | Qt(span(cQ), span(cQ)) = data->system.H; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:891:20: error: reference to ‘span’ is ambiguous 891 | Qt(span(cQ), span(cQ)) = data->system.H; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h: In function ‘void auxFilter(unsigned int, SSinputs&)’: SSpace.h:1215:12: error: reference to ‘span’ is ambiguous 1215 | data.v(span(0, data.d_t)).fill(datum::nan); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ SSpace.h:1217:12: error: reference to ‘span’ is ambiguous 1217 | data.v(span(0, sum(ns) + 1)).fill(datum::nan); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ In file included from BSMmodel.h:20: ARIMASSmodel.h: In function ‘void initMatricesArima(ARIMASS, SSmatrix&)’: ARIMASSmodel.h:101:102: error: reference to ‘span’ is ambiguous 101 | model.T.submat(inputs.maxArma, inputs.maxArma, model.T.n_rows - 1, inputs.maxArma) = -polyDd(span(1, polyDd.n_elem - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMASSmodel.h: In function ‘void arimaMatrices(arma::vec, SSmatrix*, void*)’: ARIMASSmodel.h:133:27: error: reference to ‘span’ is ambiguous 133 | inp->ARS(ind) = p(span(np, np + inp->orders(3) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMASSmodel.h:138:17: error: reference to ‘span’ is ambiguous 138 | inp->MA(span(1, inp->orders(2))) = p(ind); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMASSmodel.h:143:27: error: reference to ‘span’ is ambiguous 143 | inp->MAS(ind) = p(span(np, np + inp->orders(5) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMASSmodel.h:150:18: error: reference to ‘span’ is ambiguous 150 | model->R(span(0, MApoly.n_elem - 1), 0) = MApoly; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMASSmodel.h:153:18: error: reference to ‘span’ is ambiguous 153 | model->T(span(0, ARpoly.n_elem - 2), 0) = -ARpoly(span(1, ARpoly.n_elem - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMASSmodel.h:153:59: error: reference to ‘span’ is ambiguous 153 | model->T(span(0, ARpoly.n_elem - 2), 0) = -ARpoly(span(1, ARpoly.n_elem - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ In file included from BSMmodel.h:21: ARMAmodel.h: In function ‘void pacfToAr(arma::vec&)’: ARMAmodel.h:98:9: error: reference to ‘span’ is ambiguous 98 | PAR(span(0, i)) = (PAR(span(0, i)) - PAR(i + 1) * flipud(PAR(span(0, i)))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h:98:28: error: reference to ‘span’ is ambiguous 98 | PAR(span(0, i)) = (PAR(span(0, i)) - PAR(i + 1) * flipud(PAR(span(0, i)))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h:98:66: error: reference to ‘span’ is ambiguous 98 | PAR(span(0, i)) = (PAR(span(0, i)) - PAR(i + 1) * flipud(PAR(span(0, i)))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h: In function ‘void arToPacf(arma::vec&)’: ARMAmodel.h:109:9: error: reference to ‘span’ is ambiguous 109 | PAR(span(0, j)) = (PAR(span(0, j)) + PAR(i) * flipud(PAR(span(0, j)))) | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h:109:28: error: reference to ‘span’ is ambiguous 109 | PAR(span(0, j)) = (PAR(span(0, j)) + PAR(i) * flipud(PAR(span(0, j)))) | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h:109:62: error: reference to ‘span’ is ambiguous 109 | PAR(span(0, j)) = (PAR(span(0, j)) + PAR(i) * flipud(PAR(span(0, j)))) | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h: In function ‘void armaMatrices(arma::vec, SSmatrix*, void*)’: ARMAmodel.h:152:16: error: reference to ‘span’ is ambiguous 152 | ARpoly = p(span(1, inp->ar)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h:156:16: error: reference to ‘span’ is ambiguous 156 | MApoly = p(span(inp->ar + 1, inp->ar + inp->ma)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h:162:14: error: reference to ‘span’ is ambiguous 162 | model->R(span(1, inp->ma), 0) = MApoly; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h:165:14: error: reference to ‘span’ is ambiguous 165 | model->T(span(0, inp->ar - 1), 0) = -ARpoly; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h: In function ‘void armaMatricesTrue(arma::vec, SSmatrix*, void*)’: ARMAmodel.h:173:16: error: reference to ‘span’ is ambiguous 173 | ARpoly = p(span(1, inp->ar)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h:177:16: error: reference to ‘span’ is ambiguous 177 | MApoly = p(span(inp->ar + 1, inp->ar + inp->ma)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h:183:14: error: reference to ‘span’ is ambiguous 183 | model->R(span(1, inp->ma), 0) = MApoly; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARMAmodel.h:186:14: error: reference to ‘span’ is ambiguous 186 | model->T(span(0, inp->ar - 1), 0) = -ARpoly; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h: In member function ‘arma::vec BSMclass::parameterValues(arma::vec)’: BSMmodel.h:2046:33: error: reference to ‘span’ is ambiguous 2046 | vec pp = pCycle(span(0, nCycles - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2049:27: error: reference to ‘span’ is ambiguous 2049 | parValues(span(nparCum(0), pos - 1)) = pp; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2054:37: error: reference to ‘span’ is ambiguous 2054 | pp = pCycle(span(nCycles, nCycles - 1 + nn)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2056:35: error: reference to ‘span’ is ambiguous 2056 | parValues(span(pos, pos - 1 + nn)) = pp; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2066:23: error: reference to ‘span’ is ambiguous 2066 | isVar(span(nparCum(2) + 1, isVar.n_elem - 1)).fill(0); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h: In member function ‘void BSMclass::disturb()’: BSMmodel.h:2389:19: error: reference to ‘span’ is ambiguous 2389 | T(span(0, nsAll), span(0, nsAll)) = copiaSS.system.T; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2389:35: error: reference to ‘span’ is ambiguous 2389 | T(span(0, nsAll), span(0, nsAll)) = copiaSS.system.T; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2391:19: error: reference to ‘span’ is ambiguous 2391 | R(span(0, nsAll), span(0, nsAll + 1)) = copiaSS.system.R; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2391:35: error: reference to ‘span’ is ambiguous 2391 | R(span(0, nsAll), span(0, nsAll + 1)) = copiaSS.system.R; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2400:30: error: reference to ‘span’ is ambiguous 2400 | Z(0, span(0, nsAll)) = copiaSS.system.Z; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2416:56: error: reference to ‘span’ is ambiguous 2416 | SSmodel::inputs.eta = copiaSS.eta.rows(span(0, inputs.ns(0) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2422:64: error: reference to ‘span’ is ambiguous 2422 | SSmodel::inputs.eta = SSmodel::inputs.eta.rows(span(0, inputs.ns(0) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h: In member function ‘void BSMclass::initMatricesBsm(arma::vec, arma::vec, std::string, std::string, std::string, std::string)’: BSMmodel.h:2788:31: error: reference to ‘span’ is ambiguous 2788 | nsCol = sum(inputs.ns(span(0, 2))) + 1; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2824:50: error: reference to ‘span’ is ambiguous 2824 | SSmodel::inputs.system.T(span(i1 + 1, i2), span(i1, i2)) = eye(inputs.seas - 2, inputs.seas - 1); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2824:68: error: reference to ‘span’ is ambiguous 2824 | SSmodel::inputs.system.T(span(i1 + 1, i2), span(i1, i2)) = eye(inputs.seas - 2, inputs.seas - 1); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2825:50: error: reference to ‘span’ is ambiguous 2825 | SSmodel::inputs.system.T(span(i1, i1), span(i1, i2)).fill(-1.0); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2825:64: error: reference to ‘span’ is ambiguous 2825 | SSmodel::inputs.system.T(span(i1, i1), span(i1, i2)).fill(-1.0); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h: In member function ‘void BSMclass::initParBsm()’: BSMmodel.h:2909:45: error: reference to ‘span’ is ambiguous 2909 | uword ini = sum(inputs.nPar(span(0, 2))) + 1; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2930:61: error: reference to ‘span’ is ambiguous 2930 | beta0aux = inputs.beta0ARMA(span(0, inputs.ar - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2940:61: error: reference to ‘span’ is ambiguous 2940 | beta0aux = inputs.beta0ARMA(span(inputs.ar, inputs.ar + inputs.ma - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2951:53: error: reference to ‘span’ is ambiguous 2951 | beta0aux = inputs.beta0ARMA(span(0, inputs.ar - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2968:53: error: reference to ‘span’ is ambiguous 2968 | beta0aux = inputs.beta0ARMA(span(inputs.ar, inputs.ar + inputs.ma - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:2971:42: error: reference to ‘span’ is ambiguous 2971 | inputs.beta0ARMA(span(inputs.ar, inputs.ar + inputs.ma - 1)) = beta0aux; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h: In function ‘void bsmMatrices(arma::vec, SSmatrix*, void*)’: BSMmodel.h:3141:41: error: reference to ‘span’ is ambiguous 3141 | periods = inp->periods(span(0, nRhos - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:3157:29: error: reference to ‘span’ is ambiguous 3157 | aux1 = aux(span(0, inp->ns(1) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:3172:37: error: reference to ‘span’ is ambiguous 3172 | aux1 = aux(span(0, inp->ns(2) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h: In function ‘void bsmMatricesTrue(arma::vec, SSmatrix*, void*)’: BSMmodel.h:3251:40: error: reference to ‘span’ is ambiguous 3251 | periods = inp->periods(span(0, nRhos - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:3267:28: error: reference to ‘span’ is ambiguous 3267 | aux1 = aux(span(0, inp->ns(1) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h:3282:36: error: reference to ‘span’ is ambiguous 3282 | aux1 = aux(span(0, inp->ns(2) - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ BSMmodel.h: In function ‘void calculateLimits(int, arma::vec, arma::vec, arma::mat&, double)’: BSMmodel.h:3463:27: error: reference to ‘span’ is ambiguous 3463 | pCycles = periods(span(0, nCycles - 1)); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ In file included from UCompC.cpp:7: ETSmodel.h: In function ‘void initEtsMatrices(ETSmodel&)’: ETSmodel.h:2449:17: error: reference to ‘span’ is ambiguous 2449 | m.F(span(m.ns(0) + 1, nsTS - 1), span(m.ns(0), nsTS - 1)) = eye(m.s - 1, m.s); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ETSmodel.h:2449:46: error: reference to ‘span’ is ambiguous 2449 | m.F(span(m.ns(0) + 1, nsTS - 1), span(m.ns(0), nsTS - 1)) = eye(m.s - 1, m.s); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ In file included from UCompC.cpp:8: ARIMAmodel.h: In member function ‘void ARIMAclass::identGM()’: ARIMAmodel.h:571:41: error: reference to ‘span’ is ambiguous 571 | BICmat(ind, span(7, 7 + par0.n_elem - 1)) = par0.t(); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMAmodel.h:572:41: error: reference to ‘span’ is ambiguous 572 | BICmat(ind, span(7 + par0.n_elem, 7 + 2 * par0.n_elem - 1)) = par0Std.t(); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMAmodel.h:605:37: error: reference to ‘span’ is ambiguous 605 | BICmat(ind, span(7, 7 + par0.n_elem - 1)) = par0.t(); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMAmodel.h:606:37: error: reference to ‘span’ is ambiguous 606 | BICmat(ind, span(7 + par0.n_elem, 7 + 2 * par0.n_elem - 1)) = par0Std.t(); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMAmodel.h:639:45: error: reference to ‘span’ is ambiguous 639 | BICmat(ind, span(7, 7 + par0.n_elem - 1)) = par0.t(); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMAmodel.h:640:45: error: reference to ‘span’ is ambiguous 640 | BICmat(ind, span(7 + par0.n_elem, 7 + 2 * par0.n_elem - 1)) = par0Std.t(); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMAmodel.h:665:36: error: reference to ‘span’ is ambiguous 665 | m.par0 = BICmat(ibest, span(7, 7 + npar - 1)).t(); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ ARIMAmodel.h:666:39: error: reference to ‘span’ is ambiguous 666 | m.par0Std = BICmat(ibest, span(7 + npar, 7 + 2 * npar - 1)).t(); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ make[1]: *** [/data/gannet/ripley/R/cxx20/etc/Makeconf:201: UCompC.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-CXX20/UComp/src' ERROR: compilation failed for package ‘UComp’ * removing ‘/data/gannet/ripley/R/packages/tests-CXX20/UComp.Rcheck/UComp’