* installing *source* package ‘UPCM’ ... ** this is package ‘UPCM’ version ‘0.0-4’ ** package ‘UPCM’ 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/UPCM/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 cppUPCM.cpp -o cppUPCM.o cppUPCM.cpp: In function ‘arma::mat createD(arma::vec)’: cppUPCM.cpp:123:8: error: reference to ‘span’ is ambiguous 123 | D2(span(1,q-1),span(0,q-2)) = D2(span(1,q-1),span(0,q-2)) + diagmat(1/mu(span(1,q-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 cppUPCM.cpp:4: /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; | ^~~~ cppUPCM.cpp:123:20: error: reference to ‘span’ is ambiguous 123 | D2(span(1,q-1),span(0,q-2)) = D2(span(1,q-1),span(0,q-2)) + diagmat(1/mu(span(1,q-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; | ^~~~ cppUPCM.cpp:123:38: error: reference to ‘span’ is ambiguous 123 | D2(span(1,q-1),span(0,q-2)) = D2(span(1,q-1),span(0,q-2)) + diagmat(1/mu(span(1,q-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; | ^~~~ cppUPCM.cpp:123:50: error: reference to ‘span’ is ambiguous 123 | D2(span(1,q-1),span(0,q-2)) = D2(span(1,q-1),span(0,q-2)) + diagmat(1/mu(span(1,q-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; | ^~~~ cppUPCM.cpp:123:78: error: reference to ‘span’ is ambiguous 123 | D2(span(1,q-1),span(0,q-2)) = D2(span(1,q-1),span(0,q-2)) + diagmat(1/mu(span(1,q-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; | ^~~~ cppUPCM.cpp:126:6: error: reference to ‘span’ is ambiguous 126 | D2(span::all,q-1) = -ones(q,1)/(1-as_scalar(sum(mu))); | ^~~~ /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; | ^~~~ cppUPCM.cpp:127:38: error: reference to ‘span’ is ambiguous 127 | D2(q-1,q-1) = as_scalar(-(1-sum(mu(span(0,q-2))))/((1-sum(mu))*mu(q-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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUPCM(arma::vec, arma::vec, int, int, int, int, int, arma::mat, arma::vec, int, arma::mat, int, double)’: cppUPCM.cpp:188:25: error: reference to ‘span’ is ambiguous 188 | vec betaX = alpha(span(q*I,q*I+pX-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; | ^~~~ cppUPCM.cpp:189:25: error: reference to ‘span’ is ambiguous 189 | vec betaU = alpha(span(q*I+pX,q*I+2*pX-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; | ^~~~ cppUPCM.cpp:203:18: error: reference to ‘span’ is ambiguous 203 | Xi = X(i,span::all); | ^~~~ /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; | ^~~~ cppUPCM.cpp:206:16: error: reference to ‘span’ is ambiguous 206 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:222:27: error: reference to ‘span’ is ambiguous 222 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:226:31: error: reference to ‘span’ is ambiguous 226 | eta_k = (etai(span::all,k) + ones(q)*(rnd_act(0)))%(ones(q)*(exp(rnd_act(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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUPCM2(arma::vec, arma::mat, int, int, int, int, int, arma::mat, arma::vec, int, arma::mat, int, double)’: cppUPCM.cpp:291:21: error: reference to ‘span’ is ambiguous 291 | vec betaX = alpha(span(q*I,q*I+pX-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; | ^~~~ cppUPCM.cpp:292:21: error: reference to ‘span’ is ambiguous 292 | vec betaU = alpha(span(q*I+pX,q*I+2*pX-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; | ^~~~ cppUPCM.cpp:304:14: error: reference to ‘span’ is ambiguous 304 | Xi = X(i,span::all); | ^~~~ /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; | ^~~~ cppUPCM.cpp:307:12: error: reference to ‘span’ is ambiguous 307 | yi = Y(span::all,span(i*I,i*I+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; | ^~~~ cppUPCM.cpp:307:22: error: reference to ‘span’ is ambiguous 307 | yi = Y(span::all,span(i*I,i*I+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; | ^~~~ cppUPCM.cpp:327:25: error: reference to ‘span’ is ambiguous 327 | eta_k = etaij(span::all,k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:329:15: error: reference to ‘span’ is ambiguous 329 | mui(span::all,k) = join_cols(mu_k,1-sum(mu_k,0)); | ^~~~ /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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUPCM4(arma::vec, arma::vec, int, int, int, int, arma::mat, arma::vec, arma::mat, int, arma::vec, arma::vec, arma::vec, double)’: cppUPCM.cpp:493:10: error: reference to ‘span’ is ambiguous 493 | Xi = X(i,span::all); | ^~~~ /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; | ^~~~ cppUPCM.cpp:496:11: error: reference to ‘span’ is ambiguous 496 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:511:21: error: reference to ‘span’ is ambiguous 511 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:515:25: error: reference to ‘span’ is ambiguous 515 | eta_k = (etai(span::all,k) + ones(q)*(rnd_act(0)))%(ones(q)*(exp(rnd_act(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; | ^~~~ cppUPCM.cpp: In function ‘arma::vec scoreUPCM(arma::vec, arma::vec, int, int, int, int, int, arma::mat, arma::vec, int, arma::mat, int, arma::vec, double)’: cppUPCM.cpp:588:21: error: reference to ‘span’ is ambiguous 588 | vec betaX = alpha(span(q*I,q*I+pX-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; | ^~~~ cppUPCM.cpp:589:21: error: reference to ‘span’ is ambiguous 589 | vec betaU = alpha(span(q*I+pX,q*I+2*pX-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; | ^~~~ cppUPCM.cpp:609:12: error: reference to ‘span’ is ambiguous 609 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:611:14: error: reference to ‘span’ is ambiguous 611 | Xi = X(i,span::all); | ^~~~ /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; | ^~~~ cppUPCM.cpp:639:25: error: reference to ‘span’ is ambiguous 639 | eta_k = (etai(span::all,k) + ones(q)*rnd_act(0)); | ^~~~ /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; | ^~~~ cppUPCM.cpp:644:21: error: reference to ‘span’ is ambiguous 644 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:649:16: error: reference to ‘span’ is ambiguous 649 | mu_i(span(k*q,q+k*q-1)) = mu_k; | ^~~~ /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; | ^~~~ cppUPCM.cpp:653:17: error: reference to ‘span’ is ambiguous 653 | Zij(span(k*q,q+k*q-1),span(pall-2*pX,pall-1)) = join_rows(Xihelp,Xihelp2); | ^~~~ /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; | ^~~~ cppUPCM.cpp:653:35: error: reference to ‘span’ is ambiguous 653 | Zij(span(k*q,q+k*q-1),span(pall-2*pX,pall-1)) = join_rows(Xihelp,Xihelp2); | ^~~~ /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; | ^~~~ cppUPCM.cpp:657:15: error: reference to ‘span’ is ambiguous 657 | D_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createD(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:657:33: error: reference to ‘span’ is ambiguous 657 | D_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createD(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:658:22: error: reference to ‘span’ is ambiguous 658 | SigmaInv_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createSigmaInv(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:658:40: error: reference to ‘span’ is ambiguous 658 | SigmaInv_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createSigmaInv(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:684:18: error: reference to ‘span’ is ambiguous 684 | help_mat(span::all,i) = help_mat(span::all,i) + (trans(Zij)*D_i*SigmaInv_i*(yi-mu_i))*cij_help; | ^~~~ /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; | ^~~~ cppUPCM.cpp:684:42: error: reference to ‘span’ is ambiguous 684 | help_mat(span::all,i) = help_mat(span::all,i) + (trans(Zij)*D_i*SigmaInv_i*(yi-mu_i))*cij_help; | ^~~~ /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; | ^~~~ cppUPCM.cpp:695:16: error: reference to ‘span’ is ambiguous 695 | help_mat(e,span::all) = help_mat(e,span::all)%trans(1/cij_norm); | ^~~~ /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; | ^~~~ cppUPCM.cpp:695:40: error: reference to ‘span’ is ambiguous 695 | help_mat(e,span::all) = help_mat(e,span::all)%trans(1/cij_norm); | ^~~~ /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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUGPCM(arma::vec, arma::vec, int, int, int, int, int, arma::mat, arma::vec, int, arma::mat, int, double)’: cppUPCM.cpp:752:21: error: reference to ‘span’ is ambiguous 752 | vec betaX = alpha(span(q*I,q*I+pX-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; | ^~~~ cppUPCM.cpp:753:21: error: reference to ‘span’ is ambiguous 753 | vec betaU = alpha(span(q*I+pX,q*I+2*pX-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; | ^~~~ cppUPCM.cpp:755:46: error: reference to ‘span’ is ambiguous 755 | vec slopes = join_cols(ones(1), alpha(span(pall-I+1, pall-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; | ^~~~ cppUPCM.cpp:769:14: error: reference to ‘span’ is ambiguous 769 | Xi = X(i,span::all); | ^~~~ /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; | ^~~~ cppUPCM.cpp:772:12: error: reference to ‘span’ is ambiguous 772 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:788:21: error: reference to ‘span’ is ambiguous 788 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:792:25: error: reference to ‘span’ is ambiguous 792 | eta_k = (etai(span::all,k) + ones(q)*(rnd_act(0)))%(slopes(k)*ones(q)*(exp(rnd_act(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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUGPCM2(arma::vec, arma::mat, int, int, int, int, int, arma::mat, arma::vec, int, arma::mat, int, double)’: cppUPCM.cpp:858:21: error: reference to ‘span’ is ambiguous 858 | vec betaX = alpha(span(q*I,q*I+pX-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; | ^~~~ cppUPCM.cpp:859:21: error: reference to ‘span’ is ambiguous 859 | vec betaU = alpha(span(q*I+pX,q*I+2*pX-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; | ^~~~ cppUPCM.cpp:861:46: error: reference to ‘span’ is ambiguous 861 | vec slopes = join_cols(ones(1), alpha(span(pall-I+1, pall-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; | ^~~~ cppUPCM.cpp:873:14: error: reference to ‘span’ is ambiguous 873 | Xi = X(i,span::all); | ^~~~ /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; | ^~~~ cppUPCM.cpp:876:12: error: reference to ‘span’ is ambiguous 876 | yi = Y(span::all,span(i*I,i*I+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; | ^~~~ cppUPCM.cpp:876:22: error: reference to ‘span’ is ambiguous 876 | yi = Y(span::all,span(i*I,i*I+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; | ^~~~ cppUPCM.cpp:896:25: error: reference to ‘span’ is ambiguous 896 | eta_k = etaij(span::all,k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:898:15: error: reference to ‘span’ is ambiguous 898 | mui(span::all,k) = join_cols(mu_k,1-sum(mu_k,0)); | ^~~~ /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; | ^~~~ cppUPCM.cpp: In function ‘arma::vec scoreUGPCM(arma::vec, arma::vec, int, int, int, int, int, arma::mat, arma::vec, int, arma::mat, int, arma::vec, double)’: cppUPCM.cpp:968:21: error: reference to ‘span’ is ambiguous 968 | vec betaX = alpha(span(q*I,q*I+pX-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; | ^~~~ cppUPCM.cpp:969:21: error: reference to ‘span’ is ambiguous 969 | vec betaU = alpha(span(q*I+pX,q*I+2*pX-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; | ^~~~ cppUPCM.cpp:971:46: error: reference to ‘span’ is ambiguous 971 | vec slopes = join_cols(ones(1), alpha(span(pall-I+1, pall-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; | ^~~~ cppUPCM.cpp:991:12: error: reference to ‘span’ is ambiguous 991 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:993:14: error: reference to ‘span’ is ambiguous 993 | Xi = X(i,span::all); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1021:25: error: reference to ‘span’ is ambiguous 1021 | eta_k = (etai(span::all,k) + ones(q)*rnd_act(0)); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1025:21: error: reference to ‘span’ is ambiguous 1025 | Xihelp3(span::all,k-1) = eta_k*(1/slopes(k)); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1032:21: error: reference to ‘span’ is ambiguous 1032 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:1037:16: error: reference to ‘span’ is ambiguous 1037 | mu_i(span(k*q,q+k*q-1)) = mu_k; | ^~~~ /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; | ^~~~ cppUPCM.cpp:1040:15: error: reference to ‘span’ is ambiguous 1040 | Zij(span(k*q,q+k*q-1),span(pall-2*pX-I+1,pall-1)) = join_rows(join_rows(Xihelp,Xihelp2),Xihelp3); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1040:33: error: reference to ‘span’ is ambiguous 1040 | Zij(span(k*q,q+k*q-1),span(pall-2*pX-I+1,pall-1)) = join_rows(join_rows(Xihelp,Xihelp2),Xihelp3); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1041:15: error: reference to ‘span’ is ambiguous 1041 | Zij(span(k*q,q+k*q-1),span::all) = Zij(span(k*q,q+k*q-1),span::all)*slopes(k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1041:33: error: reference to ‘span’ is ambiguous 1041 | Zij(span(k*q,q+k*q-1),span::all) = Zij(span(k*q,q+k*q-1),span::all)*slopes(k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1041:50: error: reference to ‘span’ is ambiguous 1041 | Zij(span(k*q,q+k*q-1),span::all) = Zij(span(k*q,q+k*q-1),span::all)*slopes(k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1041:68: error: reference to ‘span’ is ambiguous 1041 | Zij(span(k*q,q+k*q-1),span::all) = Zij(span(k*q,q+k*q-1),span::all)*slopes(k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1045:15: error: reference to ‘span’ is ambiguous 1045 | D_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createD(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1045:33: error: reference to ‘span’ is ambiguous 1045 | D_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createD(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1046:22: error: reference to ‘span’ is ambiguous 1046 | SigmaInv_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createSigmaInv(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1046:40: error: reference to ‘span’ is ambiguous 1046 | SigmaInv_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createSigmaInv(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1071:18: error: reference to ‘span’ is ambiguous 1071 | help_mat(span::all,i) = help_mat(span::all,i) + (trans(Zij)*D_i*SigmaInv_i*(yi-mu_i))*cij_help; | ^~~~ /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; | ^~~~ cppUPCM.cpp:1071:42: error: reference to ‘span’ is ambiguous 1071 | help_mat(span::all,i) = help_mat(span::all,i) + (trans(Zij)*D_i*SigmaInv_i*(yi-mu_i))*cij_help; | ^~~~ /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; | ^~~~ cppUPCM.cpp:1082:16: error: reference to ‘span’ is ambiguous 1082 | help_mat(e,span::all) = help_mat(e,span::all)%trans(1/cij_norm); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1082:40: error: reference to ‘span’ is ambiguous 1082 | help_mat(e,span::all) = help_mat(e,span::all)%trans(1/cij_norm); | ^~~~ /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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUGPCM4(arma::vec, arma::vec, int, int, int, int, arma::mat, arma::vec, arma::mat, int, arma::vec, arma::vec, arma::vec, arma::vec, double)’: cppUPCM.cpp:1153:14: error: reference to ‘span’ is ambiguous 1153 | Xi = X(i,span::all); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1156:12: error: reference to ‘span’ is ambiguous 1156 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:1171:21: error: reference to ‘span’ is ambiguous 1171 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:1175:25: error: reference to ‘span’ is ambiguous 1175 | eta_k = (etai(span::all,k) + ones(q)*(rnd_act(0)))%(slopes(k)*ones(q)*(exp(rnd_act(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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUPCMnoX(arma::vec, arma::vec, int, int, int, int, int, arma::mat, arma::vec, int, arma::mat, int, double)’: cppUPCM.cpp:1257:12: error: reference to ‘span’ is ambiguous 1257 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:1273:21: error: reference to ‘span’ is ambiguous 1273 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:1277:25: error: reference to ‘span’ is ambiguous 1277 | eta_k = (etai(span::all,k) + ones(q)*(rnd_act(0)))%(ones(q)*(exp(rnd_act(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; | ^~~~ cppUPCM.cpp: In function ‘arma::vec scoreUPCMnoX(arma::vec, arma::vec, int, int, int, int, int, arma::mat, arma::vec, int, arma::vec, double)’: cppUPCM.cpp:1374:12: error: reference to ‘span’ is ambiguous 1374 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:1396:25: error: reference to ‘span’ is ambiguous 1396 | eta_k = (etai(span::all,k) + ones(q)*rnd_act(0)); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1401:21: error: reference to ‘span’ is ambiguous 1401 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:1406:16: error: reference to ‘span’ is ambiguous 1406 | mu_i(span(k*q,q+k*q-1)) = mu_k; | ^~~~ /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; | ^~~~ cppUPCM.cpp:1410:15: error: reference to ‘span’ is ambiguous 1410 | D_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createD(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1410:33: error: reference to ‘span’ is ambiguous 1410 | D_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createD(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1411:22: error: reference to ‘span’ is ambiguous 1411 | SigmaInv_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createSigmaInv(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1411:40: error: reference to ‘span’ is ambiguous 1411 | SigmaInv_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createSigmaInv(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1424:18: error: reference to ‘span’ is ambiguous 1424 | help_mat(span::all,i) = help_mat(span::all,i) + (trans(Zij)*D_i*SigmaInv_i*(yi-mu_i))*cij_help; | ^~~~ /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; | ^~~~ cppUPCM.cpp:1424:42: error: reference to ‘span’ is ambiguous 1424 | help_mat(span::all,i) = help_mat(span::all,i) + (trans(Zij)*D_i*SigmaInv_i*(yi-mu_i))*cij_help; | ^~~~ /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; | ^~~~ cppUPCM.cpp:1435:16: error: reference to ‘span’ is ambiguous 1435 | help_mat(e,span::all) = help_mat(e,span::all)%trans(1/cij_norm); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1435:40: error: reference to ‘span’ is ambiguous 1435 | help_mat(e,span::all) = help_mat(e,span::all)%trans(1/cij_norm); | ^~~~ /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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUPCM4noX(arma::vec, arma::vec, int, int, int, int, arma::mat, arma::vec, int, arma::vec, double)’: cppUPCM.cpp:1505:12: error: reference to ‘span’ is ambiguous 1505 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:1520:21: error: reference to ‘span’ is ambiguous 1520 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:1524:25: error: reference to ‘span’ is ambiguous 1524 | eta_k = (etai(span::all,k) + ones(q)*(rnd_act(0)))%(ones(q)*(exp(rnd_act(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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUPCM2noX(arma::vec, arma::mat, int, int, int, int, int, arma::mat, arma::vec, int, arma::mat, int, double)’: cppUPCM.cpp:1601:12: error: reference to ‘span’ is ambiguous 1601 | yi = Y(span::all,span(i*I,i*I+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; | ^~~~ cppUPCM.cpp:1601:22: error: reference to ‘span’ is ambiguous 1601 | yi = Y(span::all,span(i*I,i*I+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; | ^~~~ cppUPCM.cpp:1621:25: error: reference to ‘span’ is ambiguous 1621 | eta_k = etaij(span::all,k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1623:15: error: reference to ‘span’ is ambiguous 1623 | mui(span::all,k) = join_cols(mu_k,1-sum(mu_k,0)); | ^~~~ /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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUGPCMnoX(arma::vec, arma::vec, int, int, int, int, int, arma::mat, arma::vec, int, arma::mat, int, double)’: cppUPCM.cpp:1685:46: error: reference to ‘span’ is ambiguous 1685 | vec slopes = join_cols(ones(1), alpha(span(pall-I+1, pall-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; | ^~~~ cppUPCM.cpp:1701:12: error: reference to ‘span’ is ambiguous 1701 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:1717:21: error: reference to ‘span’ is ambiguous 1717 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:1721:25: error: reference to ‘span’ is ambiguous 1721 | eta_k = (etai(span::all,k) + ones(q)*(rnd_act(0)))%(slopes(k)*ones(q)*(exp(rnd_act(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; | ^~~~ cppUPCM.cpp: In function ‘arma::vec scoreUGPCMnoX(arma::vec, arma::vec, int, int, int, int, int, arma::mat, arma::vec, int, arma::vec, double)’: cppUPCM.cpp:1790:46: error: reference to ‘span’ is ambiguous 1790 | vec slopes = join_cols(ones(1), alpha(span(pall-I+1, pall-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; | ^~~~ cppUPCM.cpp:1809:12: error: reference to ‘span’ is ambiguous 1809 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:1832:25: error: reference to ‘span’ is ambiguous 1832 | eta_k = (etai(span::all,k) + ones(q)*rnd_act(0)); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1838:21: error: reference to ‘span’ is ambiguous 1838 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:1843:16: error: reference to ‘span’ is ambiguous 1843 | mu_i(span(k*q,q+k*q-1)) = mu_k; | ^~~~ /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; | ^~~~ cppUPCM.cpp:1846:15: error: reference to ‘span’ is ambiguous 1846 | Zij(span(k*q,q+k*q-1),span::all) = Zij(span(k*q,q+k*q-1),span::all)*slopes(k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1846:33: error: reference to ‘span’ is ambiguous 1846 | Zij(span(k*q,q+k*q-1),span::all) = Zij(span(k*q,q+k*q-1),span::all)*slopes(k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1846:50: error: reference to ‘span’ is ambiguous 1846 | Zij(span(k*q,q+k*q-1),span::all) = Zij(span(k*q,q+k*q-1),span::all)*slopes(k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1846:68: error: reference to ‘span’ is ambiguous 1846 | Zij(span(k*q,q+k*q-1),span::all) = Zij(span(k*q,q+k*q-1),span::all)*slopes(k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1850:15: error: reference to ‘span’ is ambiguous 1850 | D_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createD(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1850:33: error: reference to ‘span’ is ambiguous 1850 | D_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createD(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1851:22: error: reference to ‘span’ is ambiguous 1851 | SigmaInv_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createSigmaInv(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1851:40: error: reference to ‘span’ is ambiguous 1851 | SigmaInv_i(span(k*q,q+k*q-1),span(k*q,q+k*q-1)) = createSigmaInv(mu_k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1866:18: error: reference to ‘span’ is ambiguous 1866 | help_mat(span::all,i) = help_mat(span::all,i) + (trans(Zij)*D_i*SigmaInv_i*(yi-mu_i))*cij_help; | ^~~~ /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; | ^~~~ cppUPCM.cpp:1866:42: error: reference to ‘span’ is ambiguous 1866 | help_mat(span::all,i) = help_mat(span::all,i) + (trans(Zij)*D_i*SigmaInv_i*(yi-mu_i))*cij_help; | ^~~~ /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; | ^~~~ cppUPCM.cpp:1877:16: error: reference to ‘span’ is ambiguous 1877 | help_mat(e,span::all) = help_mat(e,span::all)%trans(1/cij_norm); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1877:40: error: reference to ‘span’ is ambiguous 1877 | help_mat(e,span::all) = help_mat(e,span::all)%trans(1/cij_norm); | ^~~~ /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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUGPCM2noX(arma::vec, arma::mat, int, int, int, int, int, arma::mat, arma::vec, int, arma::mat, int, double)’: cppUPCM.cpp:1936:46: error: reference to ‘span’ is ambiguous 1936 | vec slopes = join_cols(ones(1), alpha(span(pall-I+1, pall-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; | ^~~~ cppUPCM.cpp:1951:12: error: reference to ‘span’ is ambiguous 1951 | yi = Y(span::all,span(i*I,i*I+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; | ^~~~ cppUPCM.cpp:1951:22: error: reference to ‘span’ is ambiguous 1951 | yi = Y(span::all,span(i*I,i*I+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; | ^~~~ cppUPCM.cpp:1971:25: error: reference to ‘span’ is ambiguous 1971 | eta_k = etaij(span::all,k); | ^~~~ /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; | ^~~~ cppUPCM.cpp:1973:15: error: reference to ‘span’ is ambiguous 1973 | mui(span::all,k) = join_cols(mu_k,1-sum(mu_k,0)); | ^~~~ /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; | ^~~~ cppUPCM.cpp: In function ‘double loglikUGPCM4noX(arma::vec, arma::vec, int, int, int, int, arma::mat, arma::vec, int, arma::vec, arma::vec, double)’: cppUPCM.cpp:2053:12: error: reference to ‘span’ is ambiguous 2053 | yi = Y(span(i*q*I,i*q*I+q*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; | ^~~~ cppUPCM.cpp:2068:21: error: reference to ‘span’ is ambiguous 2068 | yi_k = yi(span(k*q,q+k*q-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; | ^~~~ cppUPCM.cpp:2072:25: error: reference to ‘span’ is ambiguous 2072 | eta_k = (etai(span::all,k) + ones(q)*(rnd_act(0)))%(slopes(k)*ones(q)*(exp(rnd_act(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; | ^~~~ make[1]: *** [/data/gannet/ripley/R/cxx20/etc/Makeconf:201: cppUPCM.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-CXX20/UPCM/src' ERROR: compilation failed for package ‘UPCM’ * removing ‘/data/gannet/ripley/R/packages/tests-CXX20/UPCM.Rcheck/UPCM’