* installing *source* package ‘DatAssim’ ... ** this is package ‘DatAssim’ version ‘1.0’ ** package ‘DatAssim’ 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/DatAssim/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 -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 -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 datassimcpp.cpp -o datassimcpp.o datassimcpp.cpp: In function ‘Rcpp::List datassimcpp(arma::mat&, arma::mat&, arma::mat)’: datassimcpp.cpp:35:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 35 | for (j = 0; j < var.n_rows; j++) { | ~~^~~~~~~~~~~~ datassimcpp.cpp:42:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 42 | for (i = 1; i < pred.n_cols; i++) { | ~~^~~~~~~~~~~~~ datassimcpp.cpp:45:24: error: reference to ‘span’ is ambiguous 45 | arma::mat C = Cov(i, span(0, (i-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 datassimcpp.cpp:1: /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<> | ^~~~ datassimcpp.cpp:46:28: error: reference to ‘span’ is ambiguous 46 | arma::mat CC = a_corr(k, span(k, (v.n_cols-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<> | ^~~~ datassimcpp.cpp:51:30: error: reference to ‘span’ is ambiguous 51 | a_corr((v.n_cols-1-i), span(k, (v.n_cols-1))) = (1-a(i,j))*a_corr(k, span(k, (v.n_cols-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<> | ^~~~ datassimcpp.cpp:51:76: error: reference to ‘span’ is ambiguous 51 | a_corr((v.n_cols-1-i), span(k, (v.n_cols-1))) = (1-a(i,j))*a_corr(k, span(k, (v.n_cols-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<> | ^~~~ make[1]: *** [/data/gannet/ripley/R/cxx20/etc/Makeconf:201: datassimcpp.o] Error 1 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/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/DatAssim/src' ERROR: compilation failed for package ‘DatAssim’ * removing ‘/data/gannet/ripley/R/packages/tests-CXX20/DatAssim.Rcheck/DatAssim’