* installing *source* package ‘pumBayes’ ... ** this is package ‘pumBayes’ version ‘1.0.1’ ** package ‘pumBayes’ 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/pumBayes/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'/data/gannet/ripley/R/test-dev/mvtnorm/include' -I'/data/gannet/ripley/R/test-dev/RcppTN/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'/data/gannet/ripley/R/test-dev/RcppDist/include' -I'/data/gannet/ripley/R/test-dev/mvtnorm/include' -I'/data/gannet/ripley/R/test-dev/RcppTN/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 rtn1.cpp -o rtn1.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'/data/gannet/ripley/R/test-dev/RcppDist/include' -I'/data/gannet/ripley/R/test-dev/mvtnorm/include' -I'/data/gannet/ripley/R/test-dev/RcppTN/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 three_utility_probit_helper_functions.cpp -o three_utility_probit_helper_functions.o three_utility_probit_helper_functions.cpp: In function ‘double sample_rho(double, arma::vec, arma::uvec, arma::uvec, double, double, double)’: three_utility_probit_helper_functions.cpp:466:34: error: reference to ‘span’ is ambiguous 466 | rowvec pos_v = ideal_pos_1_m(span(judge_start_ind(i), | ^~~~ 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 three_utility_probit_helper_functions.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<> | ^~~~ three_utility_probit_helper_functions.cpp: In function ‘Rcpp::List sample_probit_dynamic_rcpp_flip(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::uvec, arma::uvec, arma::uvec, arma::umat, arma::uvec, int, int, int, int, int, arma::vec, arma::mat, arma::vec, arma::mat, double, double, double, double, int, int, int, double, arma::uvec, arma::uvec, arma::uvec, arma::uvec, bool)’: three_utility_probit_helper_functions.cpp:845:27: error: reference to ‘span’ is ambiguous 845 | current_param_val_v(span( | ^~~~ /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<> | ^~~~ three_utility_probit_helper_functions.cpp:1031:31: error: reference to ‘span’ is ambiguous 1031 | current_param_val_v(span(0, rho_ind - 1)), z_v, | ^~~~ /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<> | ^~~~ three_utility_probit_helper_functions.cpp:1037:27: error: reference to ‘span’ is ambiguous 1037 | current_param_val_v(span(0, rho_ind - 1)) = result.first; | ^~~~ /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<> | ^~~~ three_utility_probit_helper_functions.cpp:1044:27: error: reference to ‘span’ is ambiguous 1044 | current_param_val_v(span(0, alpha_v_1_start_ind - 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<> | ^~~~ three_utility_probit_helper_functions.cpp: In function ‘double sample_rho_pos_logit_gibbs(double, arma::vec, arma::uvec, arma::uvec, double, double, double)’: three_utility_probit_helper_functions.cpp:1384:34: error: reference to ‘span’ is ambiguous 1384 | rowvec pos_v = ideal_pos_1_m(span(judge_start_ind(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<> | ^~~~ three_utility_probit_helper_functions.cpp: In function ‘Rcpp::List sample_probit_dynamic_rcpp(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::uvec, arma::uvec, arma::uvec, arma::umat, arma::uvec, int, int, int, int, int, arma::vec, arma::mat, arma::vec, arma::mat, double, double, double, double, int, int, int, double, arma::uvec, arma::uvec, arma::uvec, arma::uvec, bool)’: three_utility_probit_helper_functions.cpp:1543:27: error: reference to ‘span’ is ambiguous 1543 | current_param_val_v(span( | ^~~~ /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<> | ^~~~ three_utility_probit_helper_functions.cpp:1596:27: error: reference to ‘span’ is ambiguous 1596 | current_param_val_v(span(0, rho_ind - 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<> | ^~~~ three_utility_probit_helper_functions.cpp:1598:31: error: reference to ‘span’ is ambiguous 1598 | current_param_val_v(span(0, rho_ind - 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<> | ^~~~ three_utility_probit_helper_functions.cpp:1608:27: error: reference to ‘span’ is ambiguous 1608 | current_param_val_v(span(0, alpha_v_1_start_ind - 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: three_utility_probit_helper_functions.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-CXX20/pumBayes/src' ERROR: compilation failed for package ‘pumBayes’ * removing ‘/data/gannet/ripley/R/packages/tests-CXX20/pumBayes.Rcheck/pumBayes’