* installing *source* package ‘support’ ... ** this is package ‘support’ version ‘0.1.7’ ** package ‘support’ 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/support/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/BH/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'/data/gannet/ripley/R/test-dev/BH/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 herding.cpp -o herding.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/BH/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 support.cpp -o support.o support.cpp: In function ‘Rcpp::NumericVector energy_norm_cpp(Rcpp::NumericMatrix&, Rcpp::NumericMatrix&, int)’: support.cpp:323:21: warning: unused variable ‘p’ [-Wunused-variable] 323 | int i, j, k, p, maxterms=2000; | ^ support.cpp:325:12: warning: unused variable ‘meanyy’ [-Wunused-variable] 325 | double meanyy, meanzz; | ^~~~~~ support.cpp: In function ‘Rcpp::NumericMatrix sp_cpp(int, int, Rcpp::NumericMatrix&, Rcpp::NumericVector&, Rcpp::List, Rcpp::NumericMatrix&, bool, Rcpp::NumericMatrix&, int, int, int, double, int, double, Rcpp::NumericVector&, bool)’: support.cpp:733:8: warning: unused variable ‘cont2’ [-Wunused-variable] 733 | bool cont2 = true; //stopping boolean for inside CCCP loop | ^~~~~ support.cpp: In function ‘Rcpp::NumericMatrix sp_seq_cpp(Rcpp::NumericMatrix&, int, Rcpp::NumericMatrix&, Rcpp::NumericVector&, Rcpp::List, Rcpp::NumericMatrix&, bool, Rcpp::NumericMatrix&, int, int, int, double, int)’: support.cpp:1123:5: warning: label ‘rst’ defined but not used [-Wunused-label] 1123 | rst: | ^~~ support.cpp: In function ‘arma::vec asvec(arma::rowvec)’: support.cpp:1360:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare] 1360 | for (int i=0; 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: /usr/include/c++/15/span:60:11: note: ‘template class std::span’ 60 | class span; | ^~~~ support.cpp:1403:63: error: reference to ‘span’ is ambiguous 1403 | rec_vec(span(1,rec_vec.size()-1)) = theta_tr(j)*rec_vec(span(0,rec_vec.size()-2)) + rec_vec(span(1,rec_vec.size()-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; | ^~~~ support.cpp:1403:99: error: reference to ‘span’ is ambiguous 1403 | rec_vec(span(1,rec_vec.size()-1)) = theta_tr(j)*rec_vec(span(0,rec_vec.size()-2)) + rec_vec(span(1,rec_vec.size()-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; | ^~~~ support.cpp:1406:42: error: reference to ‘span’ is ambiguous 1406 | ret(i) = theta_vec(i) * dot( rec_vec(span(0,max_ord-1)), gamma_vec(span(0,max_ord-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; | ^~~~ support.cpp:1406:72: error: reference to ‘span’ is ambiguous 1406 | ret(i) = theta_vec(i) * dot( rec_vec(span(0,max_ord-1)), gamma_vec(span(0,max_ord-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; | ^~~~ support.cpp: In function ‘Rcpp::NumericMatrix psp_cpp(Rcpp::NumericMatrix&, Rcpp::NumericVector&, Rcpp::List, Rcpp::NumericVector&, arma::vec&, int, Rcpp::NumericMatrix&, bool, Rcpp::NumericMatrix&, bool, Rcpp::NumericMatrix&, int, int, int, double, int)’: support.cpp:1563:10: warning: unused variable ‘gam_shape’ [-Wunused-variable] 1563 | double gam_shape=gam_param[0]; | ^~~~~~~~~ support.cpp:1564:10: warning: unused variable ‘gam_rate’ [-Wunused-variable] 1564 | double gam_rate=gam_param[1]; | ^~~~~~~~ support.cpp:1571:8: warning: unused variable ‘cont2’ [-Wunused-variable] 1571 | bool cont2 = true; //stopping boolean for inside CCCP loop | ^~~~~ support.cpp:1834:3: warning: label ‘stop’ defined but not used [-Wunused-label] 1834 | stop: | ^~~~ make[1]: *** [/data/gannet/ripley/R/cxx20/etc/Makeconf:201: support.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-CXX20/support/src' ERROR: compilation failed for package ‘support’ * removing ‘/data/gannet/ripley/R/packages/tests-CXX20/support.Rcheck/support’