* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘matrixdist’ ...
** package ‘matrixdist’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/tmp/RtmpO3OYP6/R.INSTALL2c144c60c118a0/matrixdist/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c EM_LL.cpp -o EM_LL.o
EM_LL.cpp: In function ‘void runge_kutta(arma::vec&, arma::mat&, arma::mat&, double, double, const arma::mat&, const arma::mat&)’:
EM_LL.cpp:42:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   42 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:44:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   44 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:49:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   49 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:51:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   51 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:56:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   56 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:58:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   58 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:63:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   63 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:65:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   65 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:71:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   71 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:73:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   73 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:78:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   78 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:80:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   80 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:85:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   85 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:87:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   87 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:92:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   92 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:94:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   94 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:100:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  100 |     for (m = 0; m < p; ++m) {
      |                 ~~^~~
EM_LL.cpp:101:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  101 |       for (i = 0; i < p; ++i) {
      |                   ~~^~~
EM_LL.cpp:103:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  103 |         for (j = 0; j < p; ++j) {
      |                     ~~^~~
EM_LL.cpp:109:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  109 |     for (m = 0; m < p; ++m) {
      |                 ~~^~~
EM_LL.cpp:110:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  110 |       for (i = 0; i < p; ++i) {
      |                   ~~^~~
EM_LL.cpp:112:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  112 |         for (j = 0; j < p; ++j) {
      |                     ~~^~~
EM_LL.cpp:118:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  118 |     for (m = 0; m < p; ++m) {
      |                 ~~^~~
EM_LL.cpp:119:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  119 |       for (i = 0; i < p; ++i) {
      |                   ~~^~~
EM_LL.cpp:121:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  121 |         for (j = 0; j < p; ++j) {
      |                     ~~^~~
EM_LL.cpp:127:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  127 |     for (m = 0; m < p; ++m) {
      |                 ~~^~~
EM_LL.cpp:128:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  128 |       for (i = 0; i < p; ++i) {
      |                   ~~^~~
EM_LL.cpp:130:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  130 |         for (j = 0; j < p; ++j) {
      |                     ~~^~~
EM_LL.cpp:137:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  137 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:140:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  140 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp: In function ‘void EMstep_RK(double, arma::vec&, arma::mat&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&)’:
EM_LL.cpp:201:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  201 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL.cpp:205:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  205 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL.cpp:230:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  230 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL.cpp:233:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  233 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL.cpp:243:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  243 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
EM_LL.cpp:253:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  253 |     for (int j{0}; j < p; ++j) {
      |                    ~~^~~
EM_LL.cpp: In function ‘void a_rungekutta(arma::vec&, double, double, const arma::mat&)’:
EM_LL.cpp:289:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  289 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:291:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  291 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:296:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  296 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:298:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  298 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:303:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  303 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:305:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  305 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:310:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  310 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
EM_LL.cpp:312:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  312 |       for (j = 0; j < p; ++j) {
      |                   ~~^~~
EM_LL.cpp:318:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  318 |     for (i = 0; i < p; ++i) {
      |                 ~~^~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c EM_LL_PADE.cpp -o EM_LL_PADE.o
EM_LL_PADE.cpp: In function ‘void EMstep_PADE(double, arma::vec&, arma::mat&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&)’:
EM_LL_PADE.cpp:114:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  114 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_PADE.cpp:115:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  115 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_PADE.cpp:127:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  127 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_PADE.cpp:131:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  131 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_PADE.cpp:177:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  177 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_PADE.cpp:178:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  178 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_PADE.cpp:189:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  189 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_PADE.cpp:192:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  192 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_PADE.cpp:199:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  199 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
EM_LL_PADE.cpp:209:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  209 |     for (int j{0}; j < p; ++j) {
      |                    ~~^~~
EM_LL_PADE.cpp: In function ‘Rcpp::List EMstep_MoE_PADE(arma::mat&, arma::mat&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&)’:
EM_LL_PADE.cpp:268:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  268 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_PADE.cpp:269:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  269 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_PADE.cpp:281:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  281 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_PADE.cpp:285:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  285 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_PADE.cpp:300:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  300 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_PADE.cpp:301:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  301 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_PADE.cpp:312:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  312 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_PADE.cpp:315:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  315 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_PADE.cpp:322:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  322 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
EM_LL_PADE.cpp:328:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  328 |     for (int j{0}; j < p; ++j) {
      |                    ~~^~~
EM_LL_PADE.cpp: In function ‘void EMstep_bivph(arma::vec&, arma::mat&, arma::mat&, arma::mat&, const Rcpp::NumericMatrix&, const Rcpp::NumericVector&)’:
EM_LL_PADE.cpp:399:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  399 |     for (int i{0}; i < p1; ++i) {
      |                    ~~^~~~
EM_LL_PADE.cpp:400:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  400 |       for (int j{0}; j < p1; ++j) {
      |                      ~~^~~~
EM_LL_PADE.cpp:410:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  410 |     for (int i{0}; i < p2; ++i) {
      |                    ~~^~~~
EM_LL_PADE.cpp:411:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  411 |       for (int j{0}; j < p2; ++j) {
      |                      ~~^~~~
EM_LL_PADE.cpp:423:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  423 |     for (int i{0}; i < p1; ++i) {
      |                    ~~^~~~
EM_LL_PADE.cpp:427:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  427 |       for (int j{0}; j < p1; ++j) {
      |                      ~~^~~~
EM_LL_PADE.cpp:430:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  430 |       for (int j{0}; j < p2; ++j) {
      |                      ~~^~~~
EM_LL_PADE.cpp:438:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  438 |     for (int i{0}; i < p2; ++i) {
      |                    ~~^~~~
EM_LL_PADE.cpp:442:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  442 |       for (int j{0}; j < p2; ++j){
      |                      ~~^~~~
EM_LL_PADE.cpp:449:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  449 |   for (int i{0}; i < p1; ++i) {
      |                  ~~^~~~
EM_LL_PADE.cpp:455:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  455 |     for (int j{0}; j < p1; ++j) {
      |                    ~~^~~~
EM_LL_PADE.cpp:464:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  464 |     for (int j{0}; j < p2; ++j) {
      |                    ~~^~~~
EM_LL_PADE.cpp:472:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  472 |   for (int i{0}; i < p2; ++i) {
      |                  ~~^~~~
EM_LL_PADE.cpp:478:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  478 |     for (int j{0}; j < p2; ++j) {
      |                    ~~^~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c EM_LL_UNI.cpp -o EM_LL_UNI.o
EM_LL_UNI.cpp: In function ‘void EMstep_UNI(double, arma::vec&, arma::mat&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&)’:
EM_LL_UNI.cpp:154:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  154 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_UNI.cpp:155:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  155 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_UNI.cpp:167:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  167 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_UNI.cpp:171:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  171 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_UNI.cpp:202:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  202 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_UNI.cpp:203:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  203 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_UNI.cpp:214:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  214 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
EM_LL_UNI.cpp:217:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  217 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
EM_LL_UNI.cpp:224:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  224 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
EM_LL_UNI.cpp:234:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  234 |     for (int j{0}; j < p; ++j) {
      |                    ~~^~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c MPHstar_EMstep_UNI.cpp -o MPHstar_EMstep_UNI.o
MPHstar_EMstep_UNI.cpp: In function ‘void rew_sanity_check(arma::mat&, double)’:
MPHstar_EMstep_UNI.cpp:47:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   47 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
MPHstar_EMstep_UNI.cpp:48:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   48 |     for (int j{0}; j < d; ++j) {
      |                    ~~^~~
MPHstar_EMstep_UNI.cpp:62:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   62 |   for (int i{0}; i < check.size(); ++i) {
      |                  ~~^~~~~~~~~~~~~~
MPHstar_EMstep_UNI.cpp:68:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   68 |       for (int k{0}; k < rew.size(); ++k) {
      |                      ~~^~~~~~~~~~~~
MPHstar_EMstep_UNI.cpp: In function ‘arma::vec marginal_expectation(arma::vec&, arma::vec&, int, arma::vec&, arma::mat&, arma::vec&, arma::vec&)’:
MPHstar_EMstep_UNI.cpp:129:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  129 |     for (int k{0}; k < obs.size(); ++k) {
      |                    ~~^~~~~~~~~~~~
MPHstar_EMstep_UNI.cpp:145:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  145 |       for (int i{0}; i < p; ++i) {
      |                      ~~^~~
MPHstar_EMstep_UNI.cpp:146:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  146 |         for (int j{0}; j < p; ++j) {
      |                        ~~^~~
MPHstar_EMstep_UNI.cpp:173:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  173 |       for (int i{0}; i < p; ++i) {
      |                      ~~^~~
MPHstar_EMstep_UNI.cpp: In function ‘void MPHstar_EMstep_UNI(double, double, arma::vec&, arma::mat&, arma::mat&, const Rcpp::List&)’:
MPHstar_EMstep_UNI.cpp:248:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  248 |   for (int k{0}; k < un_obsSum.size(); ++k) {
      |                  ~~^~~~~~~~~~~~~~~~~~
MPHstar_EMstep_UNI.cpp:266:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  266 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
MPHstar_EMstep_UNI.cpp:267:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  267 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
MPHstar_EMstep_UNI.cpp:282:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  282 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
MPHstar_EMstep_UNI.cpp:286:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  286 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
MPHstar_EMstep_UNI.cpp:293:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  293 |   for (int m{0}; m < d; ++m) {
      |                  ~~^~~
MPHstar_EMstep_UNI.cpp:306:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  306 |       for (int i{0}; i < rew.size(); ++i) {
      |                      ~~^~~~~~~~~~~~
MPHstar_EMstep_UNI.cpp:329:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  329 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
MPHstar_EMstep_UNI.cpp:339:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  339 |     for (int j{0}; j < p; ++j) {
      |                    ~~^~~
MPHstar_EMstep_UNI.cpp:351:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  351 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
MPHstar_EMstep_UNI.cpp:352:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  352 |     for (int j{0}; j < d; ++j) {
      |                    ~~^~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c Simulation.cpp -o Simulation.o
Simulation.cpp: In function ‘arma::mat embedded_mc(arma::mat)’:
Simulation.cpp:22:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   22 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
Simulation.cpp:23:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   23 |     for (int j{0}; j < p + 1; ++j) {
      |                    ~~^~~~~~~
Simulation.cpp:24:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   24 |       if (j != i && j < p) {
      |                     ~~^~~
Simulation.cpp:27:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   27 |       else if(j == p) {
      |               ~~^~~~
Simulation.cpp: In function ‘arma::mat cumulate_matrix(arma::mat)’:
Simulation.cpp:52:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   52 |   for (int i{0}; i < p1; ++i) {
      |                  ~~^~~~
Simulation.cpp:53:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   53 |     for (int j{0}; j < p2; ++j) {
      |                    ~~^~~~
Simulation.cpp: In function ‘arma::vec cumulate_vector(arma::vec)’:
Simulation.cpp:79:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   79 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
Simulation.cpp: In function ‘long int initial_state(arma::vec, double)’:
Simulation.cpp:107:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  107 |   for( int i{1}; i < cum_alpha.size(); ++i) {
      |                  ~~^~~~~~~~~~~~~~~~~~
Simulation.cpp: In function ‘long int new_state(long int, arma::mat, double)’:
Simulation.cpp:132:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  132 |   for (int i{1}; i < cum_embedded_mc.n_cols; ++i) {
      |                  ~~^~~~~~~~~~~~~~~~~~~~~~~~
Simulation.cpp: In function ‘Rcpp::NumericMatrix rMPHstar(int, arma::vec, arma::mat, arma::mat)’:
Simulation.cpp:290:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  290 |       for (int j{0}; j < dim; ++j) {
      |                      ~~^~~~~
Simulation.cpp: In function ‘Rcpp::NumericMatrix rMIPHstar(int, arma::vec, arma::mat, arma::mat, Rcpp::StringVector, Rcpp::List)’:
Simulation.cpp:329:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  329 |       for (int j{0}; j < dim; ++j) {
      |                      ~~^~~~~
Simulation.cpp:334:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  334 |     for (int j{0}; j < dim; ++j) {
      |                    ~~^~~~~
Simulation.cpp: In function ‘Rcpp::NumericMatrix rMDPHstar(int, arma::vec, arma::mat, arma::mat)’:
Simulation.cpp:422:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  422 |       for (int j{0}; j < dim; ++j) {
      |                      ~~^~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c auxiliary.cpp -o auxiliary.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c distributions.cpp -o distributions.o
distributions.cpp: In function ‘arma::vec mdphdensity(Rcpp::NumericMatrix, arma::vec, Rcpp::List&)’:
distributions.cpp:769:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  769 |   for (int i{0}; i < p; ++i){
      |                  ~~^~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c dph_EM_LL.cpp -o dph_EM_LL.o
dph_EM_LL.cpp: In function ‘void EMstep_dph(arma::vec&, arma::mat&, const Rcpp::NumericVector&, const Rcpp::NumericVector&)’:
dph_EM_LL.cpp:50:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   50 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
dph_EM_LL.cpp:51:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   51 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
dph_EM_LL.cpp:63:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   63 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
dph_EM_LL.cpp:67:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   67 |         for (int j{0}; j < p; ++j) {
      |                        ~~^~~
dph_EM_LL.cpp:77:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   77 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
dph_EM_LL.cpp:79:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   79 |     for (int j{0}; j < p; ++j) {
      |                    ~~^~~
dph_EM_LL.cpp: In function ‘arma::mat EMstep_dph_MoE(arma::mat&, arma::mat&, const Rcpp::NumericVector&, const Rcpp::NumericVector&)’:
dph_EM_LL.cpp:135:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  135 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
dph_EM_LL.cpp:143:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  143 |         for (int j{0}; j < p; ++j) {
      |                        ~~^~~
dph_EM_LL.cpp:153:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  153 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
dph_EM_LL.cpp:154:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  154 |     for (int j{0}; j < p; ++j) {
      |                    ~~^~~
dph_EM_LL.cpp: In function ‘void EMstep_bivdph(arma::vec&, arma::mat&, arma::mat&, arma::mat&, const Rcpp::NumericMatrix&, const Rcpp::NumericVector&)’:
dph_EM_LL.cpp:216:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  216 |     for (int i{0}; i < p1; ++i) {
      |                    ~~^~~~
dph_EM_LL.cpp:223:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  223 |         for (int j{0}; j < p1; ++j) {
      |                        ~~^~~~
dph_EM_LL.cpp:227:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  227 |       for (int j{0}; j < p2; ++j) {
      |                      ~~^~~~
dph_EM_LL.cpp:232:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  232 |     for (int i{0}; i < p2; ++i) {
      |                    ~~^~~~
dph_EM_LL.cpp:239:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  239 |         for (int j{0}; j < p2; ++j) {
      |                        ~~^~~~
dph_EM_LL.cpp:249:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  249 |   for (int i{0}; i < p1; ++i) {
      |                  ~~^~~~
dph_EM_LL.cpp:251:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  251 |     for (int j{0}; j < p1; ++j) {
      |                    ~~^~~~
dph_EM_LL.cpp:254:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  254 |     for (int j{0}; j < p2; ++j) {
      |                    ~~^~~~
dph_EM_LL.cpp:258:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  258 |   for (int i{0}; i < p2; ++i) {
      |                  ~~^~~~
dph_EM_LL.cpp:259:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  259 |     for (int j{0}; j < p2; ++j) {
      |                    ~~^~~~
dph_EM_LL.cpp: In function ‘arma::mat EMstep_bivdph_MoE(arma::mat&, arma::mat&, arma::mat&, arma::mat&, const Rcpp::NumericMatrix&, const Rcpp::NumericVector&)’:
dph_EM_LL.cpp:320:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  320 |     for (int i{0}; i < p1; ++i) {
      |                    ~~^~~~
dph_EM_LL.cpp:327:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  327 |         for (int j{0}; j < p1; ++j) {
      |                        ~~^~~~
dph_EM_LL.cpp:331:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  331 |       for (int j{0}; j < p2; ++j) {
      |                      ~~^~~~
dph_EM_LL.cpp:336:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  336 |     for (int i{0}; i < p2; ++i) {
      |                    ~~^~~~
dph_EM_LL.cpp:343:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  343 |         for (int j{0}; j < p2; ++j) {
      |                        ~~^~~~
dph_EM_LL.cpp:353:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  353 |   for (int i{0}; i < p1; ++i) {
      |                  ~~^~~~
dph_EM_LL.cpp:354:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  354 |     for (int j{0}; j < p1; ++j) {
      |                    ~~^~~~
dph_EM_LL.cpp:357:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  357 |     for (int j{0}; j < p2; ++j) {
      |                    ~~^~~~
dph_EM_LL.cpp:361:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  361 |   for (int i{0}; i < p2; ++i) {
      |                  ~~^~~~
dph_EM_LL.cpp:362:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  362 |     for (int j{0}; j < p2; ++j) {
      |                    ~~^~~~
dph_EM_LL.cpp: In function ‘void EMstep_mdph(arma::vec&, Rcpp::List&, const Rcpp::NumericMatrix&, const Rcpp::NumericVector&)’:
dph_EM_LL.cpp:414:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  414 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
dph_EM_LL.cpp:424:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  424 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
dph_EM_LL.cpp:436:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  436 |         for (int s{0}; s < p; ++s) {
      |                        ~~^~~
dph_EM_LL.cpp:445:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  445 |           for (int l{0}; l < p; ++l) {
      |                          ~~^~~
dph_EM_LL.cpp:450:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  450 |               for (int s{0}; s < p; ++s) {
      |                              ~~^~~
dph_EM_LL.cpp:468:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  468 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
dph_EM_LL.cpp:471:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  471 |       for (int l{0}; l < p; ++l) {
      |                      ~~^~~
dph_EM_LL.cpp: In function ‘arma::mat EMstep_mdph_MoE(arma::mat&, Rcpp::List&, const Rcpp::NumericMatrix&, const Rcpp::NumericVector&)’:
dph_EM_LL.cpp:526:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  526 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
dph_EM_LL.cpp:536:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  536 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
dph_EM_LL.cpp:548:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  548 |         for (int s{0}; s < p; ++s) {
      |                        ~~^~~
dph_EM_LL.cpp:557:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  557 |           for (int l{0}; l < p; ++l) {
      |                          ~~^~~
dph_EM_LL.cpp:562:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  562 |               for (int s{0}; s < p; ++s) {
      |                              ~~^~~
dph_EM_LL.cpp:580:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  580 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
dph_EM_LL.cpp:582:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  582 |       for (int l{0}; l < p; ++l) {
      |                      ~~^~~
dph_EM_LL.cpp: In function ‘double logLikelihoodmDPH(arma::vec&, Rcpp::List&, const Rcpp::NumericMatrix&, const Rcpp::NumericVector&)’:
dph_EM_LL.cpp:771:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  771 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
dph_EM_LL.cpp: In function ‘double logLikelihoodmDPH_MoE(arma::mat&, Rcpp::List&, const Rcpp::NumericMatrix&, const Rcpp::NumericVector&)’:
dph_EM_LL.cpp:823:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  823 |     for (int i{0}; i < p; ++i) {
      |                    ~~^~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c functionals.cpp -o functionals.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c mPH_EM_UNI.cpp -o mPH_EM_UNI.o
mPH_EM_UNI.cpp: In function ‘void EM_step_mPH_rc(arma::vec&, Rcpp::List&, arma::mat, arma::mat, double)’:
mPH_EM_UNI.cpp:37:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   37 |   for (int i{0}; i < d; ++i) {
      |                  ~~^~~
mPH_EM_UNI.cpp:45:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   45 |     for (int j{0}; j < p; ++j) {
      |                    ~~^~~
mPH_EM_UNI.cpp:54:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   54 |       for(int m{0}; m < n; ++m){
      |                     ~~^~~
mPH_EM_UNI.cpp:86:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   86 |         for (int k{0}; k < p; ++k) {
      |                        ~~^~~
mPH_EM_UNI.cpp:87:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   87 |           for (int l{0}; l < p; ++l) {
      |                          ~~^~~
mPH_EM_UNI.cpp:104:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  104 |   for (int k{0}; k < p; ++k) {
      |                  ~~^~~
mPH_EM_UNI.cpp:105:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  105 |     for (int j{0}; j < p; ++j) {
      |                    ~~^~~
mPH_EM_UNI.cpp:106:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  106 |       for (int i{0}; i < d; ++i) {
      |                      ~~^~~
mPH_EM_UNI.cpp:107:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  107 |         for (int m{0}; m < n; ++m) {
      |                        ~~^~~
mPH_EM_UNI.cpp:119:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  119 |   for (int k{0}; k < p; ++k) {
      |                  ~~^~~
mPH_EM_UNI.cpp:120:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  120 |     for (int i{0}; i < d; ++i) {
      |                    ~~^~~
mPH_EM_UNI.cpp:124:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  124 |       for (int m{0}; m < n; ++m) {
      |                      ~~^~~
mPH_EM_UNI.cpp:128:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  128 |         for (int j{0}; j < p; ++j) {
      |                        ~~^~~
mPH_EM_UNI.cpp:145:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  145 |   for (int k{0}; k < p; ++k) {
      |                  ~~^~~
mPH_EM_UNI.cpp:146:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  146 |     for (int i{0}; i < d; ++i) {
      |                    ~~^~~
mPH_EM_UNI.cpp:147:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  147 |       for (int m{0}; m < n; ++m) {
      |                      ~~^~~
mPH_EM_UNI.cpp:166:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  166 |   for (int k{0}; k < p; ++k) {
      |                  ~~^~~
mPH_EM_UNI.cpp:167:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  167 |     for (int m{0}; m < n; ++m) {
      |                    ~~^~~
mPH_EM_UNI.cpp:178:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  178 |   for (int k{0}; k < p; ++k) {
      |                  ~~^~~
mPH_EM_UNI.cpp:179:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  179 |     for (int i{0}; i < d; ++i) {
      |                    ~~^~~
mPH_EM_UNI.cpp:180:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  180 |       for (int m{0}; m < n; ++m) {
      |                      ~~^~~
mPH_EM_UNI.cpp:186:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  186 |         for (int j{0}; j < p; ++j){
      |                        ~~^~~
mPH_EM_UNI.cpp:203:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  203 |   for (int m{0}; m < n; ++m) {
      |                  ~~^~~
mPH_EM_UNI.cpp:210:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  210 |   for (int s{0}; s < p; ++s) {
      |                  ~~^~~
mPH_EM_UNI.cpp:211:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  211 |     for (int k{0}; k < p; ++k) {
      |                    ~~^~~
mPH_EM_UNI.cpp:212:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  212 |       for (int j{0}; j < p; ++j) {
      |                      ~~^~~
mPH_EM_UNI.cpp:213:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  213 |         for (int i{0}; i < d; ++i) {
      |                        ~~^~~
mPH_EM_UNI.cpp:214:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  214 |           for (int m{0}; m < n; ++m) {
      |                          ~~^~~
mPH_EM_UNI.cpp:229:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  229 |   for (int s{0}; s < p; ++s) {
      |                  ~~^~~
mPH_EM_UNI.cpp:230:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  230 |     for (int k{0}; k < p; ++k) {
      |                    ~~^~~
mPH_EM_UNI.cpp:231:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  231 |       for (int i{0}; i < d; ++i) {
      |                      ~~^~~
mPH_EM_UNI.cpp:232:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  232 |         for (int m{0}; m < n; ++m) {
      |                        ~~^~~
mPH_EM_UNI.cpp:240:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  240 |           for (int j{0}; j < p; ++j) {
      |                          ~~^~~
mPH_EM_UNI.cpp:257:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  257 |   for (int k{0}; k < p; ++k) {
      |                  ~~^~~
mPH_EM_UNI.cpp:262:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  262 |   for (int k{0}; k < p; ++k) {
      |                  ~~^~~
mPH_EM_UNI.cpp:263:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  263 |     for (int i{0}; i < d; ++i) {
      |                    ~~^~~
mPH_EM_UNI.cpp:267:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  267 |       for (int m{0}; m < n; ++m) {
      |                      ~~^~~
mPH_EM_UNI.cpp:279:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  279 |   for (int i{0}; i < d; ++i) {
      |                  ~~^~~
mPH_EM_UNI.cpp:280:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  280 |     for (int s{0}; s < p; ++s) {
      |                    ~~^~~
mPH_EM_UNI.cpp:281:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  281 |       for (int k{0}; k < p; ++k) {
      |                      ~~^~~
mPH_EM_UNI.cpp:289:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  289 |         for (int m{0}; m < n; ++m) {
      |                        ~~^~~
mPH_EM_UNI.cpp:300:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  300 |   for (int i{0}; i < d; ++i) {
      |                  ~~^~~
mPH_EM_UNI.cpp:301:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  301 |     for (int k{0}; k < p; ++k) {
      |                    ~~^~~
mPH_EM_UNI.cpp:315:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  315 |   for (int k{0}; k < p; ++k) {
      |                  ~~^~~
mPH_EM_UNI.cpp:320:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  320 |   for (int i{0}; i < d; ++i) {
      |                  ~~^~~
mPH_EM_UNI.cpp:321:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  321 |     for (int s{0}; s < p; ++s) {
      |                    ~~^~~
mPH_EM_UNI.cpp:322:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  322 |       for (int k{0}; k < p; ++k) {
      |                      ~~^~~
mPH_EM_UNI.cpp:329:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  329 |   for (int i{0}; i < d; ++i) {
      |                  ~~^~~
mPH_EM_UNI.cpp:330:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  330 |     for (int k{0}; k < p; ++k) {
      |                    ~~^~~
mPH_EM_UNI.cpp:335:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  335 |   for (int k{0}; k < p; ++k) {
      |                  ~~^~~
mPH_EM_UNI.cpp:336:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  336 |     for (int i{0}; i < d; ++i) {
      |                    ~~^~~
mPH_EM_UNI.cpp:346:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  346 |   for (int i{0}; i < d; ++i) {
      |                  ~~^~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c m_exp.cpp -o m_exp.o
m_exp.cpp: In function ‘double inf_norm(arma::mat)’:
m_exp.cpp:18:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   18 |   for (int i{0}; i < A.n_rows; ++i) {
      |                  ~~^~~~~~~~~~
m_exp.cpp:20:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   20 |     for (int j{0}; j < A.n_cols; ++j) {
      |                    ~~^~~~~~~~~~
m_exp.cpp: In function ‘arma::mat matrix_vanloan(arma::mat, arma::mat, arma::mat)’:
m_exp.cpp:44:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   44 |   for (int i{0}; i < p; ++i) {
      |                  ~~^~~
m_exp.cpp:45:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   45 |     for (int j{0}; j < p; ++j) {
      |                    ~~^~~
m_exp.cpp:46:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   46 |       if (i < p1 && j < p1) {
      |           ~~^~~~
m_exp.cpp:46:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   46 |       if (i < p1 && j < p1) {
      |                     ~~^~~~
m_exp.cpp:49:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   49 |       else if (i >= p1 && j < p1) {
      |                ~~^~~~~
m_exp.cpp:49:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   49 |       else if (i >= p1 && j < p1) {
      |                           ~~^~~~
m_exp.cpp:52:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   52 |       else if (i < p1 && j >= p1) {
      |                ~~^~~~
m_exp.cpp:52:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   52 |       else if (i < p1 && j >= p1) {
      |                          ~~^~~~~
m_exp.cpp: In function ‘double max_diagonal(const arma::mat&)’:
m_exp.cpp:72:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   72 |   for (int i{0}; i < A.n_rows; ++i) {
      |                  ~~^~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c matrix_functions.cpp -o matrix_functions.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c operations.cpp -o operations.o
operations.cpp: In function ‘Rcpp::List sum_ph(arma::rowvec, arma::mat, arma::rowvec, arma::mat)’:
operations.cpp:27:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   27 |   for (int i{0}; i < p1 + p2; ++i) {
      |                  ~~^~~~~~~~~
operations.cpp:28:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   28 |     if (i < p1) {
      |         ~~^~~~
operations.cpp:32:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   32 |     for (int j{0}; j < p1 + p2; ++j) {
      |                    ~~^~~~~~~~~
operations.cpp:33:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   33 |       if (i < p1) {
      |           ~~^~~~
operations.cpp:34:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   34 |         if (j < p1) {
      |             ~~^~~~
operations.cpp:41:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   41 |       else if (i >= p1 && j>= p1) {
      |                ~~^~~~~
operations.cpp:41:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   41 |       else if (i >= p1 && j>= p1) {
      |                           ~^~~~~
operations.cpp: In function ‘Rcpp::List sum_dph(arma::rowvec, arma::mat, arma::rowvec, arma::mat)’:
operations.cpp:74:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   74 |   for (int i{0}; i < p1 + p2; ++i) {
      |                  ~~^~~~~~~~~
operations.cpp:75:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   75 |     if (i < p1) {
      |         ~~^~~~
operations.cpp:79:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   79 |     for (int j{0}; j < p1 + p2; ++j) {
      |                    ~~^~~~~~~~~
operations.cpp:80:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   80 |       if (i < p1) {
      |           ~~^~~~
operations.cpp:81:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   81 |         if (j < p1) {
      |             ~~^~~~
operations.cpp:88:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   88 |       else if (i >= p1 && j>= p1) {
      |                ~~^~~~~
operations.cpp:88:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   88 |       else if (i >= p1 && j>= p1) {
      |                           ~^~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c structure_parameters.cpp -o structure_parameters.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c transformations.cpp -o transformations.o
transformations.cpp: In function ‘int n_pos(arma::vec)’:
transformations.cpp:18:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   18 |   for (int i{0}; i < R.size(); ++i) {
      |                  ~~^~~~~~~~~~
transformations.cpp: In function ‘arma::vec plus_states(arma::vec)’:
transformations.cpp:40:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   40 |   for (int i{0}; i < R.size(); ++i) {
      |                  ~~^~~~~~~~~~
transformations.cpp: In function ‘Rcpp::List tvr_ph(arma::vec, arma::mat, arma::vec)’:
transformations.cpp:66:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   66 |   for (int j{0}; j < p; ++j) {
      |                  ~~^~~
transformations.cpp:88:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   88 |   for (int i{0}; i < np; i++) {
      |                  ~~^~~~
transformations.cpp:89:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   89 |     for (int j = 0; j < np; j++) {
      |                     ~~^~~~
transformations.cpp:92:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   92 |     for (int j{0}; j < n0; j++) {
      |                    ~~^~~~
transformations.cpp:97:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   97 |   for (int i{0}; i < n0; i++) {
      |                  ~~^~~~
transformations.cpp:98:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   98 |     for (int j{0}; j < np; j++) {
      |                    ~~^~~~
transformations.cpp:101:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  101 |     for (int j{0}; j < n0; j++){
      |                    ~~^~~~
transformations.cpp:117:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  117 |   for (int i{0}; i < np; i++) {
      |                  ~~^~~~
transformations.cpp:118:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  118 |     for (int j = 0; j < np; j++) {
      |                     ~~^~~~
transformations.cpp: In function ‘Rcpp::List tvr_dph(arma::vec, arma::mat, arma::vec)’:
transformations.cpp:148:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  148 |   for (int j{0}; j < p; ++j) {
      |                  ~~^~~
transformations.cpp:171:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  171 |   for (int i{0}; i < np; i++) {
      |                  ~~^~~~
transformations.cpp:172:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  172 |     for (int j = 0; j < np; j++) {
      |                     ~~^~~~
transformations.cpp:175:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  175 |     for (int j{0}; j < n0; j++) {
      |                    ~~^~~~
transformations.cpp:180:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  180 |   for (int i{0}; i < n0; i++) {
      |                  ~~^~~~
transformations.cpp:181:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  181 |     for (int j{0}; j < np; j++) {
      |                    ~~^~~~
transformations.cpp:184:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  184 |     for (int j{0}; j < n0; j++){
      |                    ~~^~~~
transformations.cpp: In function ‘Rcpp::List linear_combination(arma::vec, arma::vec, arma::mat, arma::mat)’:
transformations.cpp:218:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  218 |   for (int j{0}; j < p; ++j) {
      |                  ~~^~~
transformations.cpp:245:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  245 |     for (int i{0}; i < np; i++) {
      |                    ~~^~~~
transformations.cpp:246:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  246 |       for (int j = 0; j < np; j++) {
      |                       ~~^~~~
transformations.cpp:249:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  249 |       for (int j{0}; j < n0; j++) {
      |                      ~~^~~~
transformations.cpp:254:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  254 |     for (int i{0}; i < n0; i++) {
      |                    ~~^~~~
transformations.cpp:255:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  255 |       for (int j{0}; j < np; j++) {
      |                      ~~^~~~
transformations.cpp:258:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  258 |       for (int j{0}; j < n0; j++){
      |                      ~~^~~~
transformations.cpp:268:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  268 |     for (int i{0}; i < np; ++i) {
      |                    ~~^~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o matrixdist.so EM_LL.o EM_LL_PADE.o EM_LL_UNI.o MPHstar_EMstep_UNI.o RcppExports.o Simulation.o auxiliary.o distributions.o dph_EM_LL.o functionals.o mPH_EM_UNI.o m_exp.o matrix_functions.o operations.o structure_parameters.o transformations.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpO3OYP6/R.INSTALL2c144c60c118a0/matrixdist/src'
make[1]: Entering directory '/tmp/RtmpO3OYP6/R.INSTALL2c144c60c118a0/matrixdist/src'
make[1]: Leaving directory '/tmp/RtmpO3OYP6/R.INSTALL2c144c60c118a0/matrixdist/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-matrixdist/00new/matrixdist/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (matrixdist)