* installing *source* package ‘cglm’ ... ** this is package ‘cglm’ version ‘1.1’ ** package ‘cglm’ 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/cglm/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 llfun.cpp -o llfun.o llfun.cpp: In function ‘double llfun(arma::vec, arma::vec, arma::mat, arma::vec)’: llfun.cpp:19:5: error: reference to ‘span’ is ambiguous 19 | span ind = span(nidcumsum(i), nidcumsum(i+1)-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 llfun.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<> | ^~~~ llfun.cpp:20:28: error: ‘ind’ was not declared in this scope; did you mean ‘int’? 20 | mat designbi = designb(ind, span::all); | ^~~ | int llfun.cpp:20:33: error: reference to ‘span’ is ambiguous 20 | mat designbi = designb(ind, span::all); | ^~~~ /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: llfun.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-CXX20/cglm/src' ERROR: compilation failed for package ‘cglm’ * removing ‘/data/gannet/ripley/R/packages/tests-CXX20/cglm.Rcheck/cglm’