* installing *source* package ‘BNPmix’ ...
** package ‘BNPmix’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (GCC) 14.2.0’
using C++ compiler: ‘g++-14 (GCC) 14.2.0’
using C++11
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/BNPmix/src'
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c BNPmix_init.c -o BNPmix_init.o
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c CommonUtilities.cpp -o CommonUtilities.o
CommonUtilities.cpp: In function 'arma::vec freq_vec(arma::vec)':
CommonUtilities.cpp:38:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   38 |   for(arma::uword j = 0; j < n_item; j++){
      |                          ~~^~~~~~~~
CommonUtilities.cpp: In function 'arma::vec eval_density_mv_P(arma::mat, arma::mat, arma::mat, arma::vec)':
CommonUtilities.cpp:218:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  218 |     for(arma::uword l = 0; l < d; l++){
      |                            ~~^~~
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c DdpFunctions.cpp -o DdpFunctions.o
DdpFunctions.cpp: In function 'void accelerate_DDP(arma::vec, arma::vec, arma::vec, arma::field<arma::Col<double> >&, arma::field<arma::Col<double> >&, arma::vec, double, double, double, double, int)':
DdpFunctions.cpp:60:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   60 |   for(arma::uword g = 0; g <= ngr; g++){
      |                          ~~^~~~~~
DdpFunctions.cpp: In function 'void para_clean_DDP(arma::field<arma::Col<double> >&, arma::field<arma::Col<double> >&, arma::vec&, arma::vec, arma::vec, int)':
DdpFunctions.cpp:124:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  124 |   for(arma::uword g = 0; g <= ngr; g++){
      |                          ~~^~~~~~
DdpFunctions.cpp:130:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  130 |       for(arma::uword i = 0; i < k; i++){
      |                              ~~^~~
DdpFunctions.cpp: In function 'void simu_trunc_DDP(arma::field<arma::Col<double> >&, arma::field<arma::Col<double> >&, arma::field<arma::Col<double> >&, double, double, double, double, double, double, int, int)':
DdpFunctions.cpp:203:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  203 |   for(arma::uword g = 0; g <= ngr; g++){
      |                          ~~^~~~~~
DdpFunctions.cpp:216:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  216 |     for(arma::uword j = 1; j < napprox; j++){
      |                            ~~^~~~~~~~~
DdpFunctions.cpp: In function 'void clust_update_DDP(arma::vec, arma::vec, arma::vec&, arma::field<arma::Col<double> >, arma::field<arma::Col<double> >, arma::field<arma::Col<double> >, arma::vec&, arma::mat&, arma::vec, int, int)':
DdpFunctions.cpp:290:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  290 |     for(arma::uword j = 0; j < k; j++){
      |                            ~~^~~
DdpFunctions.cpp: In function 'void update_w_DDP(arma::vec&, double, double, double, arma::vec, arma::vec, arma::vec, arma::mat, int)':
DdpFunctions.cpp:411:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  411 |   for(arma::uword g = 0; g < ngr; g++){
      |                          ~~^~~~~
DdpFunctions.cpp:418:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  418 |     for(arma::uword i = 0; i < n; i++){
      |                            ~~^~~
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c Distributions.cpp -o Distributions.o
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c IcsFunctions.cpp -o IcsFunctions.o
IcsFunctions.cpp: In function 'void para_clean_ICS_L(arma::vec&, arma::vec&)':
IcsFunctions.cpp:136:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  136 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:160:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  160 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_L_export(arma::vec&, arma::vec&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:178:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  178 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:208:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  208 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_L(arma::vec&, arma::vec&, double, double, double, int, double)':
IcsFunctions.cpp:249:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  249 |   for(arma::uword j = 1; j < napprox; j++){
      |                          ~~^~~~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_L(arma::vec, arma::vec, double, arma::vec, arma::vec&)':
IcsFunctions.cpp:305:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  305 |   for(arma::uword j = 0; j < k; j++){
      |                          ~~^~~
IcsFunctions.cpp:310:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  310 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void hyper_accelerate_ICS(arma::vec, arma::vec, double&, double&, double, double&, double, double, double, double, double, double)':
IcsFunctions.cpp:404:65: warning: unused variable 'mu_m' [-Wunused-variable]
  404 |   double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
      |                                                                 ^~~~
IcsFunctions.cpp: In function 'void para_clean_ICS(arma::vec&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:440:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  440 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:468:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  468 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_export(arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:489:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  489 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:525:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  525 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY(arma::vec&, arma::vec&, arma::vec&, double, double, double, double, double, int, double)':
IcsFunctions.cpp:577:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  577 |   for(arma::uword j = 1; j < napprox; j++){
      |                          ~~^~~~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS(arma::vec, arma::vec, arma::vec, arma::vec, arma::vec&)':
IcsFunctions.cpp:632:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  632 |   for(arma::uword j = 0; j < k; j++){
      |                          ~~^~~
IcsFunctions.cpp:637:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  637 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_L(arma::mat&, arma::vec&)':
IcsFunctions.cpp:760:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  760 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:780:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  780 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_L_export(arma::mat&, arma::mat&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:798:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  798 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:823:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  823 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_mv_L(arma::mat&, arma::vec&, double, arma::vec, arma::mat, int, double)':
IcsFunctions.cpp:889:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  889 |   for(arma::uword j = 1; j < napprox; j++){
      |                          ~~^~~~~~~~~
IcsFunctions.cpp:913:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  913 |   for(arma::uword j = 0; j < k_max; j++){
      |                          ~~^~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_mv_L(arma::mat, arma::mat, arma::mat, arma::vec, arma::vec&)':
IcsFunctions.cpp:949:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  949 |   for(arma::uword j = 0; j < k; j++){
      |                          ~~^~~
IcsFunctions.cpp:956:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  956 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
IcsFunctions.cpp:940:10: warning: unused variable 'd' [-Wunused-variable]
  940 |   double d = (double) data.n_cols;
      |          ^
IcsFunctions.cpp: In function 'void para_clean_ICS_mv(arma::mat&, arma::cube&, arma::vec&)':
IcsFunctions.cpp:1101:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1101 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:1122:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1122 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_export(arma::mat&, arma::cube&, arma::mat&, arma::cube&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:1143:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1143 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:1170:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1170 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_mv(arma::mat&, arma::cube&, arma::vec&, double, arma::vec, double, arma::mat, double, int, double)':
IcsFunctions.cpp:1218:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1218 |   for(arma::uword j = 1; j < napprox; j++){
      |                          ~~^~~~~~~~~
IcsFunctions.cpp:1245:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1245 |   for(arma::uword j = 0; j < k_max; j++){
      |                          ~~^~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_mv(arma::mat, arma::mat, arma::cube, arma::vec, arma::vec&, double&)':
IcsFunctions.cpp:1287:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1287 |   for(arma::uword j = 0; j < k; j++){
      |                          ~~^~~
IcsFunctions.cpp:1295:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1295 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
IcsFunctions.cpp:1277:10: warning: unused variable 'd' [-Wunused-variable]
 1277 |   double d = (double) data.n_cols;
      |          ^
IcsFunctions.cpp: In function 'void hyper_accelerate_ICS_mv_P(arma::mat, arma::mat, arma::vec&, arma::vec&, arma::vec, arma::vec&, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec)':
IcsFunctions.cpp:1395:65: warning: variable 'mu_m' set but not used [-Wunused-but-set-variable]
 1395 |   double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
      |                                                                 ^~~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_P(arma::mat&, arma::mat&, arma::vec&)':
IcsFunctions.cpp:1434:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1434 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:1455:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1455 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_P_export(arma::mat&, arma::mat&, arma::mat&, arma::mat&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:1476:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1476 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:1503:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1503 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_mv_P(arma::mat&, arma::mat&, arma::vec&, double, arma::vec, arma::vec, arma::vec, arma::vec, int, double)':
IcsFunctions.cpp:1551:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1551 |   for(arma::uword j = 1; j < napprox; j++){
      |                          ~~^~~~~~~~~
IcsFunctions.cpp:1576:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1576 |   for(arma::uword j = 0; j < k_max; j++){
      |                          ~~^~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_mv_P(arma::mat, arma::mat, arma::mat, arma::vec, arma::vec&)':
IcsFunctions.cpp:1615:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1615 |   for(arma::uword j = 0; j < k; j++){
      |                          ~~^~~
IcsFunctions.cpp:1624:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1624 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_MRK(arma::mat&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:1770:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1770 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:1793:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1793 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_MRK_export(arma::mat&, arma::vec&, arma::mat&, arma::vec&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:1814:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1814 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:1843:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1843 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_mv_MRK(arma::mat&, arma::vec&, arma::vec&, double, arma::vec, arma::mat, double, double, int, double)':
IcsFunctions.cpp:1890:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1890 |   for(arma::uword j = 1; j < napprox; j++){
      |                          ~~^~~~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_mv_MRK(arma::vec, arma::mat, arma::mat, arma::vec, arma::vec, arma::vec&)':
IcsFunctions.cpp:1947:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1947 |   for(arma::uword j = 0; j < k; j++){
      |                          ~~^~~
IcsFunctions.cpp:1953:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1953 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void accelerate_ICS_mv_MRK_L(arma::vec, arma::mat, arma::mat&, double&, arma::vec, arma::vec, arma::mat, double, double)':
IcsFunctions.cpp:2009:9: warning: unused variable 'nj' [-Wunused-variable]
 2009 |     int nj = sum(clust == j);
      |         ^~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_MRK_L(arma::mat&, arma::vec&)':
IcsFunctions.cpp:2094:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2094 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:2114:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2114 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:2091:10: warning: unused variable 'tsigma2' [-Wunused-variable]
 2091 |   double tsigma2;
      |          ^~~~~~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_MRK_L_export(arma::mat&, arma::mat&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:2132:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2132 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp:2156:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2156 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_mv_MRK_L(arma::mat&, arma::vec&, double, arma::vec, arma::mat, int, double)':
IcsFunctions.cpp:2224:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2224 |   for(arma::uword j = 1; j < napprox; j++){
      |                          ~~^~~~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_mv_MRK_L(arma::vec, arma::mat, arma::mat, double, arma::vec, arma::vec&)':
IcsFunctions.cpp:2283:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2283 |   for(arma::uword j = 0; j < k; j++){
      |                          ~~^~~
IcsFunctions.cpp:2293:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2293 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c MAR.cpp -o MAR.o
MAR.cpp: In function 'Rcpp::List MAR_L(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, int, bool, bool, double, bool, bool)':
MAR.cpp:103:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  103 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
MAR.cpp:144:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  144 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, double, double, int, bool, bool, double, bool, bool)':
MAR.cpp:272:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  272 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
MAR.cpp:317:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  317 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR_mv_L(arma::mat, arma::mat, int, int, arma::vec, arma::mat, arma::mat, double, arma::vec, double, double, arma::mat, double, int, bool, bool, double, bool, bool, bool)':
MAR.cpp:464:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  464 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
MAR.cpp:503:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  503 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR_mv(arma::mat, arma::mat, int, int, arma::vec, double, arma::mat, double, arma::vec, arma::mat, double, double, double, arma::mat, double, int, bool, bool, double, bool, bool, bool)':
MAR.cpp:671:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  671 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
MAR.cpp:726:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  726 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR_mv_P(arma::mat, arma::mat, int, int, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double, int, bool, bool, double, bool, bool, bool)':
MAR.cpp:889:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  889 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
MAR.cpp:934:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  934 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR_mv_MKR(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, double, double, int, int, bool, bool, double, bool, bool, bool)':
MAR.cpp:1099:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1099 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
MAR.cpp:1151:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1151 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR_mv_MKR_L(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, int, int, bool, bool, double, bool, bool, bool)':
MAR.cpp:1315:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1315 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
MAR.cpp:1361:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1361 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c MarFunctions.cpp -o MarFunctions.o
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
MarFunctions.cpp: In function 'void para_clean_MAR_L(arma::vec&, arma::vec&)':
MarFunctions.cpp:135:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  135 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp:159:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  159 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_PY_L(arma::vec, arma::vec&, double&, arma::vec&, double, double, double, double, double, double)':
MarFunctions.cpp:207:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  207 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
MarFunctions.cpp:228:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  228 |     for(arma::uword j = 0; j < k; j++) {
      |                            ~~^~~
MarFunctions.cpp: In function 'void hyper_accelerate_MAR(arma::vec, arma::vec, double&, double&, double, double&, double, double, double, double, double, double)':
MarFunctions.cpp:340:65: warning: variable 'mu_m' set but not used [-Wunused-but-set-variable]
  340 |   double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
      |                                                                 ^~~~
MarFunctions.cpp: In function 'void para_clean_MAR(arma::vec&, arma::vec&, arma::vec&)':
MarFunctions.cpp:378:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  378 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp:406:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  406 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_PY(arma::vec, arma::vec&, arma::vec&, arma::vec&, double, double, double, double, double, double)':
MarFunctions.cpp:455:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  455 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
MarFunctions.cpp:477:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  477 |     for(arma::uword j = 0; j < k; j++) {
      |                            ~~^~~
MarFunctions.cpp: In function 'void para_clean_MAR_mv_L(arma::mat&, arma::vec&)':
MarFunctions.cpp:622:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  622 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp:642:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  642 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_PY_mv_L(arma::mat, arma::mat&, arma::mat, arma::vec&, double, arma::vec, arma::mat, arma::mat, double, double)':
MarFunctions.cpp:693:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  693 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
MarFunctions.cpp:713:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  713 |     for(arma::uword j = 0; j < k; j++) {
      |                            ~~^~~
MarFunctions.cpp: In function 'void para_clean_MAR_mv(arma::mat&, arma::cube&, arma::vec&)':
MarFunctions.cpp:878:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  878 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp:899:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  899 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_PY_mv(arma::mat, arma::mat&, arma::cube&, arma::vec&, double, arma::vec, double, arma::mat, double, double, double&)':
MarFunctions.cpp:955:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  955 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
MarFunctions.cpp:972:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  972 |     for(arma::uword j = 0; j < k; j++) {
      |                            ~~^~~
MarFunctions.cpp:951:7: warning: unused variable 'old_max' [-Wunused-variable]
  951 |   int old_max = max(clust);
      |       ^~~~~~~
MarFunctions.cpp: In function 'void hyper_accelerate_MAR_mv_P(arma::mat, arma::mat, arma::vec&, arma::vec&, arma::vec, arma::vec&, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec)':
MarFunctions.cpp:1101:65: warning: variable 'mu_m' set but not used [-Wunused-but-set-variable]
 1101 |   double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
      |                                                                 ^~~~
MarFunctions.cpp: In function 'void para_clean_MAR_mv_P(arma::mat&, arma::mat&, arma::vec&)':
MarFunctions.cpp:1142:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1142 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp:1163:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1163 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_PY_mv_P(arma::mat, arma::mat&, arma::mat&, arma::vec&, double, arma::vec, arma::vec, arma::vec, arma::vec, double)':
MarFunctions.cpp:1212:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1212 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
MarFunctions.cpp:1232:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1232 |     for(arma::uword j = 0; j < k; j++) {
      |                            ~~^~~
MarFunctions.cpp:1235:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1235 |       for(arma::uword l = 0; l < d; l++){
      |                              ~~^~~
MarFunctions.cpp:1240:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1240 |     for(arma::uword l = 0; l < d; l++){
      |                            ~~^~~
MarFunctions.cpp:1252:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1252 |       for(arma::uword l = 0; l < d; l++){
      |                              ~~^~~
MarFunctions.cpp: In function 'void para_clean_MAR_mv_MRK(arma::mat&, arma::vec&, arma::vec&)':
MarFunctions.cpp:1406:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1406 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp:1429:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1429 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_mv_MRK(arma::vec, arma::mat, arma::mat&, arma::vec&, arma::vec&, double, arma::vec, arma::mat, double, double, double, int)':
MarFunctions.cpp:1481:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1481 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
MarFunctions.cpp:1501:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1501 |     for(arma::uword j = 0; j < k; j++) {
      |                            ~~^~~
MarFunctions.cpp:1508:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1508 |     for(arma::uword l = 0; l < napprox; l++){
      |                            ~~^~~~~~~~~
MarFunctions.cpp: In function 'void accelerate_MAR_mv_MRK_L(arma::vec, arma::mat, arma::mat&, double&, arma::vec, arma::vec, arma::mat, double, double)':
MarFunctions.cpp:1585:9: warning: unused variable 'nj' [-Wunused-variable]
 1585 |     int nj = sum(clust == j);
      |         ^~
MarFunctions.cpp: In function 'void para_clean_MAR_mv_MRK_L(arma::mat&, arma::vec&)':
MarFunctions.cpp:1671:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1671 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp:1691:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1691 |   for(arma::uword i = 0; i < k; i++){
      |                          ~~^~~
MarFunctions.cpp:1668:10: warning: unused variable 'tsigma2' [-Wunused-variable]
 1668 |   double tsigma2;
      |          ^~~~~~~
MarFunctions.cpp: In function 'void clust_update_MAR_mv_MRK_L(arma::vec, arma::mat, arma::mat&, double, arma::vec&, double, arma::vec, arma::mat, double, int)':
MarFunctions.cpp:1739:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1739 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
MarFunctions.cpp:1758:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1758 |     for(arma::uword j = 0; j < k; j++) {
      |                            ~~^~~
MarFunctions.cpp:1765:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1765 |     for(arma::uword l = 0; l < napprox; l++){
      |                            ~~^~~~~~~~~
MarFunctions.cpp:1732:10: warning: unused variable 'an' [-Wunused-variable]
 1732 |   double an, bn, prob_temp;
      |          ^~
MarFunctions.cpp:1732:14: warning: unused variable 'bn' [-Wunused-variable]
 1732 |   double an, bn, prob_temp;
      |              ^~
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c SliFunctions.cpp -o SliFunctions.o
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c cDDP.cpp -o cDDP.o
SliFunctions.cpp: In function 'void update_u_SLI(arma::vec, arma::vec, arma::vec&)':
SliFunctions.cpp:39:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   39 |   for(arma::uword el = 0; el < nel; el++){
      |                           ~~~^~~~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_L(arma::vec&, arma::vec&, arma::vec&, arma::vec, double, double, double, int, double)':
SliFunctions.cpp:203:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  203 |   while(sum((1 - u) < w_sum) < n){
      |         ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:221:15: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
  221 |   if(w.n_elem > k_old){
      |      ~~~~~~~~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_L(arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec, double, double, double, int, double, double, double)':
SliFunctions.cpp:266:32: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  266 |   while(sum((1 - u) <= xi_sum) < n){
      |         ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:286:16: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
  286 |   if(xi.n_elem > k_old){
      |      ~~~~~~~~~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_L(arma::vec, arma::vec, double, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:321:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  321 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:324:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  324 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_L(arma::vec, arma::vec, double, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:375:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  375 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:378:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  378 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY(arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec, double, double, double, double, double, int, double, int&)':
SliFunctions.cpp:582:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  582 |   while(sum((1 - u) < w_sum) < n){
      |         ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:617:15: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
  617 |   if(w.n_elem > k_old){
      |      ~~~~~~~~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY(arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec, double, double, double, double, double, int, double, double, double, int&)':
SliFunctions.cpp:673:32: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  673 |   while(sum((1 - u) <= xi_sum) < n){
      |         ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:724:16: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
  724 |   if(xi.n_elem > k_old){
      |      ~~~~~~~~~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI(arma::vec, arma::vec, arma::vec, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:763:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  763 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:766:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  766 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI(arma::vec, arma::vec, arma::vec, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:817:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  817 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:820:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  820 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_mv_L(arma::mat&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, int, double)':
SliFunctions.cpp:1017:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1017 |   while(sum((1 - u) < w_sum) < n){
      |         ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1037:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1037 |   for(arma::uword j = k_old; j < k_new; j++){
      |                              ~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_mv_L(arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, int, double, double, double)':
SliFunctions.cpp:1083:32: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1083 |   while(sum((1 - u) <= xi_sum) < n){
      |         ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1106:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1106 |   for(arma::uword j = k_old; j < k_new; j++){
      |                              ~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_mv_L(arma::mat, arma::mat, arma::mat, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:1143:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1143 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:1146:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1146 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_mv_L(arma::mat, arma::mat, arma::mat, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:1201:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1201 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:1204:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1204 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_mv(arma::mat&, arma::cube&, arma::vec&, arma::vec&, arma::vec, arma::vec, double, arma::mat, double, double, int, double)':
SliFunctions.cpp:1418:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1418 |   while(sum((1 - u) < w_sum) < n){
      |         ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1440:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1440 |   for(arma::uword j = k_old; j < k_new; j++){
      |                              ~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_mv(arma::mat&, arma::cube&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, double, arma::mat, double, double, int, double, double, double)':
SliFunctions.cpp:1491:32: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1491 |   while(sum((1 - u) <= xi_sum) < n){
      |         ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1516:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1516 |   for(arma::uword j = k_old; j < k_new; j++){
      |                              ~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_mv(arma::mat, arma::mat, arma::cube, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:1551:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1551 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:1554:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1554 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_mv(arma::mat, arma::mat, arma::cube, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:1607:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1607 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:1610:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1610 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_mv_P(arma::mat&, arma::mat&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double, int, double)':
SliFunctions.cpp:1832:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1832 |   while(sum((1 - u) < w_sum) < n){
      |         ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1854:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1854 |   for(arma::uword j = k_old; j < k_new; j++){
      |                              ~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_mv_P(arma::mat&, arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double, int, double, double, double)':
SliFunctions.cpp:1908:32: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1908 |   while(sum((1 - u) <= xi_sum) < n){
      |         ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1933:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1933 |   for(arma::uword j = k_old; j < k_new; j++){
      |                              ~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_mv_P(arma::mat, arma::mat, arma::mat, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:1973:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1973 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:1976:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1976 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp:1990:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1990 |         for(arma::uword l = 0; l < d; l++){
      |                                ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_mv_P(arma::mat, arma::mat, arma::mat, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:2034:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2034 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:2037:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2037 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp:2051:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2051 |         for(arma::uword l = 0; l < d; l++){
      |                                ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_mv_MRK(arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, double, double, int, double)':
SliFunctions.cpp:2268:31: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2268 |   while((sum((1 - u) < w_sum) < n)){
      |          ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:2291:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2291 |   for(arma::uword j = k_old; j < k_new; j++){
      |                              ~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_mv_MRK(arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, double, double, int, double, double, double)':
SliFunctions.cpp:2342:33: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2342 |   while((sum((1 - u) <= xi_sum) < n)){
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:2368:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2368 |   for(arma::uword j = k_old; j < k_new; j++){
      |                              ~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_mv_MRK(arma::vec, arma::mat, arma::mat, arma::vec, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:2406:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2406 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:2409:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2409 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_mv_MRK(arma::vec, arma::mat, arma::mat, arma::vec, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:2466:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2466 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:2469:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2469 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_mv_MRK_L(arma::mat&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, int, double)':
SliFunctions.cpp:2680:31: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2680 |   while((sum((1 - u) < w_sum) < n)){
      |          ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:2701:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2701 |   for(arma::uword j = k_old; j < k_new; j++){
      |                              ~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_mv_MRK_L(arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, int, double, double, double)':
SliFunctions.cpp:2748:33: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2748 |   while((sum((1 - u) <= xi_sum) < n)){
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:2772:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2772 |   for(arma::uword j = k_old; j < k_new; j++){
      |                              ~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_mv_MRK_L(arma::vec, arma::mat, arma::mat, double, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:2809:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2809 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:2812:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2812 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_mv_MRK_L(arma::vec, arma::mat, arma::mat, double, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:2869:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2869 |   for(arma::uword i = 0; i < n; i++){
      |                          ~~^~~
SliFunctions.cpp:2872:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2872 |     for(arma::uword r = 0; r < k; r++){
      |                            ~~^~~
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c cICS.cpp -o cICS.o
cDDP.cpp: In function 'Rcpp::List cDDP(arma::vec, arma::vec, int, arma::vec, int, int, double, double, double, double, double, double, int, double, int, bool, bool, bool)':
cDDP.cpp:110:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  110 |   for(arma::uword j = 0; j <= ngr; j++){
      |                          ~~^~~~~~
cDDP.cpp:145:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  145 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cDDP.cpp:152:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  152 |     for(arma::uword g = 0; g <= ngr; g++){
      |                            ~~^~~~~~
cDDP.cpp:176:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  176 |     for(arma::uword g = 0; g <= ngr; g++){
      |                            ~~^~~~~~
cDDP.cpp:196:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  196 |     for(arma::uword g = 1; g <= ngr; g++){
      |                            ~~^~~~~~
cDDP.cpp:213:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  213 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cDDP.cpp:220:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  220 |       for(arma::uword g = 0; g < ngr; g++){
      |                              ~~^~~~~
cDDP.cpp:138:10: warning: unused variable 'temp2' [-Wunused-variable]
  138 |   double temp2;
      |          ^~~~~
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c cSLI.cpp -o cSLI.o
cICS.cpp: In function 'Rcpp::List cICS_L(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, int, int, bool, bool, double, bool, bool)':
cICS.cpp:121:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  121 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cICS.cpp:177:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  177 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cICS.cpp:195:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  195 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp:207:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  207 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, double, double, int, int, bool, bool, double, bool, bool)':
cICS.cpp:351:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  351 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cICS.cpp:417:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  417 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cICS.cpp:437:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  437 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp:450:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  450 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS_mv_L(arma::mat, arma::mat, int, int, arma::vec, arma::mat, arma::mat, double, arma::vec, double, double, arma::mat, double, int, int, bool, bool, double, bool, bool, bool)':
cICS.cpp:587:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  587 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cICS.cpp:642:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  642 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cICS.cpp:664:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  664 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp:676:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  676 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS_mv(arma::mat, arma::mat, int, int, arma::vec, double, arma::mat, double, arma::vec, arma::mat, double, double, double, arma::mat, double, int, int, bool, bool, double, bool, bool, bool)':
cICS.cpp:829:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  829 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cICS.cpp:897:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  897 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cICS.cpp:923:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  923 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp:936:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  936 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS_mv_P(arma::mat, arma::mat, int, int, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double, int, int, bool, bool, double, bool, bool, bool)':
cICS.cpp:1087:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1087 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cICS.cpp:1153:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1153 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cICS.cpp:1178:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1178 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp:1191:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1191 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS_mv_MKR(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, double, double, int, int, bool, bool, double, bool, bool, bool)':
cICS.cpp:1349:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1349 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cICS.cpp:1420:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1420 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cICS.cpp:1446:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1446 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp:1459:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1459 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS_mv_MKR_L(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, int, int, bool, bool, double, bool, bool, bool)':
cICS.cpp:1611:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1611 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cICS.cpp:1674:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1674 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cICS.cpp:1698:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1698 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
cICS.cpp:1710:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1710 |       if(iter >= nburn){
      |          ~~~~~^~~~~~~~
g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/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  -DR_NO_REMAP -c est_partition.cpp -o est_partition.o
cSLI.cpp: In function 'Rcpp::List cSLI_L(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, double, double, int, bool, bool, double, bool, bool, bool)':
cSLI.cpp:112:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  112 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cSLI.cpp:197:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  197 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp:213:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  213 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, int, bool, bool, double, bool, bool, bool)':
cSLI.cpp:343:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  343 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cSLI.cpp:437:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  437 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp:458:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  458 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI_mv_L(arma::mat, arma::mat, int, int, arma::vec, arma::mat, arma::mat, double, arma::vec, double, double, arma::mat, double, double, double, int, bool, bool, double, bool, bool, bool, bool)':
cSLI.cpp:605:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  605 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cSLI.cpp:687:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  687 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp:714:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  714 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI_mv(arma::mat, arma::mat, int, int, arma::vec, double, arma::mat, double, arma::vec, arma::mat, double, double, double, arma::mat, double, double, double, int, bool, bool, double, bool, bool, bool, bool)':
cSLI.cpp:871:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  871 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cSLI.cpp:977:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  977 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp:1006:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1006 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI_mv_P(arma::mat, arma::mat, int, int, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double, double, double, int, bool, bool, double, bool, bool, bool, bool)':
cSLI.cpp:1162:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1162 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cSLI.cpp:1255:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1255 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp:1282:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1282 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI_mv_MKR(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, double, double, double, double, int, bool, bool, double, bool, bool, bool, bool)':
cSLI.cpp:1437:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1437 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cSLI.cpp:1536:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1536 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI_mv_MKR_L(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, double, double, int, bool, bool, double, bool, bool, bool, bool)':
cSLI.cpp:1714:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1714 |   for(arma::uword iter = 0; iter < niter; iter++){
      |                             ~~~~~^~~~~~~
cSLI.cpp:1802:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1802 |     if(iter >= nburn){
      |        ~~~~~^~~~~~~~
est_partition.cpp: In function 'arma::vec BNPmix_VI_LB(arma::mat, arma::mat)':
est_partition.cpp:114:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  114 |     for(arma::uword i = 0; i < n; i++){
      |                            ~~^~~
est_partition.cpp: In function 'arma::vec BNPmix_BIN(arma::mat, arma::mat)':
est_partition.cpp:151:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  151 |     for(arma::uword i = 0; i < n; i++){
      |                            ~~^~~
est_partition.cpp:152:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  152 |       for(arma::uword k = 0; k < n; k++){
      |                              ~~^~~
g++-14 -std=gnu++11 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o BNPmix.so BNPmix_init.o CommonUtilities.o DdpFunctions.o Distributions.o IcsFunctions.o MAR.o MarFunctions.o RcppExports.o SliFunctions.o cDDP.o cICS.o cSLI.o est_partition.o -fopenmp -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/BNPmix/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/BNPmix/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/BNPmix/src'
installing to /data/gannet/ripley/R/packages/tests-devel/BNPmix.Rcheck/00LOCK-BNPmix/00new/BNPmix/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (BNPmix)