* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘MABOUST’ ...
** package ‘MABOUST’ 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/RtmpqqhiDW/R.INSTALL711c34423df4d/MABOUST/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   -c MABOUST.cpp -o MABOUST.o
MABOUST.cpp: In function ‘int Sample2(arma::vec)’:
MABOUST.cpp:31:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   31 |   for(m=1;m<groupprob.n_rows;m++){
      |           ~^~~~~~~~~~~~~~~~~
MABOUST.cpp:44:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   44 |     for(m=0;m<(groupprob.n_rows-2);m++){
      |             ~^~~~~~~~~~~~~~~~~~~~~
MABOUST.cpp: In function ‘int IsAdmissable(arma::mat, arma::mat)’:
MABOUST.cpp:71:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   71 |   for(k=0;k<gamma1.n_rows;k++){
      |           ~^~~~~~~~~~~~~~
MABOUST.cpp:72:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   72 |     for(m1=0;m1<(gamma1.n_cols-1);m1++){
      |              ~~^~~~~~~~~~~~~~~~~~
MABOUST.cpp: In function ‘int Sample1(int)’:
MABOUST.cpp:90:7: warning: unused variable ‘m’ [-Wunused-variable]
   90 |   int m=0;
      |       ^
MABOUST.cpp: In function ‘int SampleSpike(arma::vec, int)’:
MABOUST.cpp:107:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  107 |   for(m1 =0 ; m1<SPIKEHOLD.n_rows;m1++){
      |               ~~^~~~~~~~~~~~~~~~~
MABOUST.cpp:122:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  122 |     for(m1=0;m1<SPIKEHOLD.n_rows;m1++){
      |              ~~^~~~~~~~~~~~~~~~~
MABOUST.cpp: In function ‘arma::vec GetBoundariesALPHA(int, arma::vec)’:
MABOUST.cpp:209:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  209 |     if(m==(beta.n_rows-1)){
      |        ~^~~~~~~~~~~~~~~~~
MABOUST.cpp: In function ‘arma::vec GetBoundariesBETA(int, arma::vec)’:
MABOUST.cpp:267:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  267 |     if(m==(alpha.n_rows-1)){
      |        ~^~~~~~~~~~~~~~~~~~
MABOUST.cpp: In function ‘double LIKECOV(arma::vec, arma::vec, arma::mat, arma::mat, arma::vec)’:
MABOUST.cpp:405:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  405 |   for(m=0;m<eta.n_rows;m++){
      |           ~^~~~~~~~~~~
MABOUST.cpp:397:7: warning: unused variable ‘k’ [-Wunused-variable]
  397 |   int k=1;
      |       ^
MABOUST.cpp:398:7: warning: unused variable ‘j’ [-Wunused-variable]
  398 |   int j=0;
      |       ^
MABOUST.cpp: In function ‘Rcpp::List MCMC_MABOUST(arma::vec, arma::vec, arma::mat, double, double, double, double, int)’:
MABOUST.cpp:522:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  522 |   for(j =0;j<thetavec.n_cols;j++){
      |            ~^~~~~~~~~~~~~~~~
MABOUST.cpp:564:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  564 |   for(m=0;m<SPIKEHOLD.n_rows;m++){
      |           ~^~~~~~~~~~~~~~~~~
MABOUST.cpp:592:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  592 |           for(k=0;k<thetavec.n_rows;k++){
      |                   ~^~~~~~~~~~~~~~~~
MABOUST.cpp:593:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  593 |             for(m1=0;m1<thetavec.n_cols;m1++){
      |                      ~~^~~~~~~~~~~~~~~~
MABOUST.cpp:611:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  611 |           for(k=0;k<Beta.n_rows;k++){
      |                   ~^~~~~~~~~~~~
MABOUST.cpp:632:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  632 |       for(k=0;k<thetavec.n_rows;k++){
      |               ~^~~~~~~~~~~~~~~~
MABOUST.cpp:637:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  637 |           for(m1=0;m1<thetavec.n_cols;m1++){
      |                    ~~^~~~~~~~~~~~~~~~
MABOUST.cpp:644:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  644 |             for(j=0;j<SPIKEHOLD.n_rows;j++){
      |                     ~^~~~~~~~~~~~~~~~~
MABOUST.cpp:714:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  714 |         for(j=0;j<thetavecprop.n_cols;j++){
      |                 ~^~~~~~~~~~~~~~~~~~~~
MABOUST.cpp:725:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  725 |         for(j=0;j<SPIKEHOLD.n_rows;j++){
      |                 ~^~~~~~~~~~~~~~~~~
MABOUST.cpp:729:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  729 |             for(m2=0;m2<thetavecprop.n_cols;m2++){
      |                      ~~^~~~~~~~~~~~~~~~~~~~
MABOUST.cpp:803:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  803 |       for(k=0;k<Beta.n_rows;k++){
      |               ~^~~~~~~~~~~~
MABOUST.cpp:843:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  843 |       for(j=0;j<thetavec.n_rows;j++){
      |               ~^~~~~~~~~~~~~~~~
MABOUST.cpp:844:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  844 |         for(m1=0;m1<thetavec.n_cols;m1++){
      |                  ~~^~~~~~~~~~~~~~~~
MABOUST.cpp:850:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  850 |       for(k=0;k<Beta.n_rows;k++){
      |               ~^~~~~~~~~~~~
MABOUST.cpp:854:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  854 |       for(k=0;k<SPIKEHOLD.n_rows;k++){
      |               ~^~~~~~~~~~~~~~~~~
MABOUST.cpp:878:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  878 |           for(k=0;k<thetavec.n_rows;k++){
      |                   ~^~~~~~~~~~~~~~~~
MABOUST.cpp:879:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  879 |             for(m1=0;m1<thetavec.n_cols;m1++){
      |                      ~~^~~~~~~~~~~~~~~~
MABOUST.cpp:897:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  897 |           for(k=0;k<Beta.n_rows;k++){
      |                   ~^~~~~~~~~~~~
MABOUST.cpp:918:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  918 |       for(k=0;k<thetavec.n_rows;k++){
      |               ~^~~~~~~~~~~~~~~~
MABOUST.cpp:923:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  923 |           for(m1=0;m1<thetavec.n_cols;m1++){
      |                    ~~^~~~~~~~~~~~~~~~
MABOUST.cpp:930:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  930 |             for(j=0;j<SPIKEHOLD.n_rows;j++){
      |                     ~^~~~~~~~~~~~~~~~~
MABOUST.cpp:1000:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1000 |         for(j=0;j<thetavecprop.n_cols;j++){
      |                 ~^~~~~~~~~~~~~~~~~~~~
MABOUST.cpp:1011:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1011 |         for(j=0;j<SPIKEHOLD.n_rows;j++){
      |                 ~^~~~~~~~~~~~~~~~~
MABOUST.cpp:1015:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1015 |             for(m2=0;m2<thetavecprop.n_cols;m2++){
      |                      ~~^~~~~~~~~~~~~~~~~~~~
MABOUST.cpp:1096:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1096 |       for(j=0;j<thetavec.n_rows;j++){
      |               ~^~~~~~~~~~~~~~~~
MABOUST.cpp:1097:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1097 |         for(m1=0;m1<thetavec.n_cols;m1++){
      |                  ~~^~~~~~~~~~~~~~~~
MABOUST.cpp:1103:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1103 |       for(k=0;k<Beta.n_rows;k++){
      |               ~^~~~~~~~~~~~
MABOUST.cpp:1107:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1107 |       for(k=0;k<SPIKEHOLD.n_rows;k++){
      |               ~^~~~~~~~~~~~~~~~~
MABOUST.cpp:462:10: warning: unused variable ‘PNPO’ [-Wunused-variable]
  462 |   double PNPO = .5; //Probability of npo
      |          ^~~~
MABOUST.cpp:464:7: warning: unused variable ‘g’ [-Wunused-variable]
  464 |   int g=0;
      |       ^
MABOUST.cpp:470:7: warning: unused variable ‘MEANS’ [-Wunused-variable]
  470 |   int MEANS=0;
      |       ^~~~~
MABOUST.cpp:472:7: warning: unused variable ‘IntIN’ [-Wunused-variable]
  472 |   int IntIN=0;
      |       ^~~~~
MABOUST.cpp:473:7: warning: unused variable ‘IntOUT’ [-Wunused-variable]
  473 |   int IntOUT=0;
      |       ^~~~~~
MABOUST.cpp:481:7: warning: unused variable ‘i’ [-Wunused-variable]
  481 |   int i=0; //For the patient index
      |       ^
MABOUST.cpp:482:7: warning: unused variable ‘rep’ [-Wunused-variable]
  482 |   int rep=0; //For the simulation repetition.
      |       ^~~
MABOUST.cpp:493:10: warning: unused variable ‘NewSlope’ [-Wunused-variable]
  493 |   double NewSlope=0;
      |          ^~~~~~~~
MABOUST.cpp:494:7: warning: unused variable ‘Which1’ [-Wunused-variable]
  494 |   int Which1=0;
      |       ^~~~~~
MABOUST.cpp:500:10: warning: unused variable ‘signew’ [-Wunused-variable]
  500 |   double signew=0;
      |          ^~~~~~
MABOUST.cpp:501:10: warning: unused variable ‘slopenew’ [-Wunused-variable]
  501 |   double slopenew=0;
      |          ^~~~~~~~
MABOUST.cpp:502:10: warning: unused variable ‘Munew’ [-Wunused-variable]
  502 |   double Munew=0;
      |          ^~~~~
MABOUST.cpp:514:7: warning: unused variable ‘count’ [-Wunused-variable]
  514 |   int count=0;
      |       ^~~~~
MABOUST.cpp:537:7: warning: unused variable ‘m3’ [-Wunused-variable]
  537 |   int m3=0;
      |       ^~
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   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o MABOUST.so MABOUST.o RcppExports.o -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -fopenmp -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpqqhiDW/R.INSTALL711c34423df4d/MABOUST/src'
make[1]: Entering directory '/tmp/RtmpqqhiDW/R.INSTALL711c34423df4d/MABOUST/src'
make[1]: Leaving directory '/tmp/RtmpqqhiDW/R.INSTALL711c34423df4d/MABOUST/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-MABOUST/00new/MABOUST/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 (MABOUST)