* installing *source* package ‘pprof’ ... ** this is package ‘pprof’ version ‘1.0.2’ ** package ‘pprof’ 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/pprof/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/RcppParallel/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 Fixed_effect.cpp -o Fixed_effect.o Fixed_effect.cpp: In function ‘Rcpp::List logis_fe_prov(arma::vec&, arma::mat&, arma::vec&, arma::vec, arma::vec, int, int, double, double, bool, std::string)’: Fixed_effect.cpp:157:33: error: reference to ‘span’ is ambiguous 157 | score_gamma(i) = sum(Yp(span(ind,ind+n_prov(i)-1))); | ^~~~ 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 Fixed_effect.cpp:5: /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; | ^~~~ Fixed_effect.cpp:158:46: error: reference to ‘span’ is ambiguous 158 | d_gamma(i) = score_gamma(i) / sum(pq(span(ind,ind+n_prov(i)-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; | ^~~~ Fixed_effect.cpp:263:28: error: reference to ‘span’ is ambiguous 263 | gamma(i) += sum(Yp(span(ind,ind+n_prov(i)-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; | ^~~~ Fixed_effect.cpp:264:18: error: reference to ‘span’ is ambiguous 264 | sum(pq(span(ind,ind+n_prov(i)-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; | ^~~~ Fixed_effect.cpp: In function ‘Rcpp::List logis_BIN_fe_prov(arma::vec&, arma::mat&, arma::vec&, arma::vec, arma::vec, int, double, int, double, bool, bool, std::string)’: Fixed_effect.cpp:372:31: error: reference to ‘span’ is ambiguous 372 | score_gamma(i) = sum(Yp(span(ind,ind+n_prov(i)-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; | ^~~~ Fixed_effect.cpp:373:38: error: reference to ‘span’ is ambiguous 373 | info_gamma_inv(i) = 1 / sum(pq(span(ind,ind+n_prov(i)-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; | ^~~~ 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/RcppParallel/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 make[1]: *** [/data/gannet/ripley/R/cxx20/etc/Makeconf:201: Fixed_effect.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/RcppParallel/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 header.cpp -o header.o make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-CXX20/pprof/src' ERROR: compilation failed for package ‘pprof’ * removing ‘/data/gannet/ripley/R/packages/tests-CXX20/pprof.Rcheck/pprof’