* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘FBCRM’ ...
** package ‘FBCRM’ 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 '/home/hornik/tmp/scratch/RtmpvnyJE0/R.INSTALL7ff157cdcf99a/FBCRM/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c FBCRM.cpp -o FBCRM.o
FBCRM.cpp: In function ‘arma::vec GetBoundaries_p(int, arma::vec, arma::vec)’:
FBCRM.cpp:127:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  127 |     if(ub==p.n_rows){
      |        ~~^~~~~~~~~~
FBCRM.cpp:138:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  138 |     if(m==(p.n_rows-1)){
      |        ~^~~~~~~~~~~~~~
FBCRM.cpp:183:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  183 |       if(ub==zeta.n_rows){
      |          ~~^~~~~~~~~~~~~
FBCRM.cpp: In function ‘double getmin(arma::vec)’:
FBCRM.cpp:387:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  387 |   for(j=1;j<dose.n_rows;j++){
      |           ~^~~~~~~~~~~~
FBCRM.cpp: In function ‘int optdose(arma::vec, double)’:
FBCRM.cpp:410:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  410 |   for(m=0;m<dose.n_rows;m++){
      |           ~^~~~~~~~~~~~
FBCRM.cpp:416:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  416 |   for(m=0;m<dose.n_rows;m++){
      |           ~^~~~~~~~~~~~
FBCRM.cpp: In function ‘double LFBCRM1(arma::vec, arma::vec, arma::vec, double)’:
FBCRM.cpp:445:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  445 |   for(m=0;m<X.n_rows;m++){
      |           ~^~~~~~~~~
FBCRM.cpp: In function ‘double Lbeta1(arma::vec, arma::vec, arma::vec, arma::vec)’:
FBCRM.cpp:475:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  475 |   for(m=0;m<p.n_rows;m++){
      |           ~^~~~~~~~~
FBCRM.cpp: In function ‘double LM(arma::vec, arma::vec, arma::vec, arma::vec, arma::vec)’:
FBCRM.cpp:526:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  526 |   for(m=0;m<X.n_rows;m++){
      |           ~^~~~~~~~~
FBCRM.cpp: In function ‘double LCRM(arma::vec, arma::vec, arma::vec, double)’:
FBCRM.cpp:554:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  554 |   for(m=0;m<Y.n_rows;m++){
      |           ~^~~~~~~~~
FBCRM.cpp: In function ‘arma::vec areap(arma::vec, arma::vec, arma::vec, double, double, double, double)’:
FBCRM.cpp:637:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  637 |     for(m=0;m<X.n_rows;m++){
      |             ~^~~~~~~~~
FBCRM.cpp:643:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  643 |   for(m=0;m<X.n_rows;m++){
      |           ~^~~~~~~~~
FBCRM.cpp: In function ‘Rcpp::List FBCRM_MCMC(arma::vec, arma::vec, arma::vec, double, double, double, int)’:
FBCRM.cpp:962:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  962 |   for(i=0;i<X.n_rows;i++){
      |           ~^~~~~~~~~
FBCRM.cpp:970:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  970 |   for(j=0;j<X.n_rows;j++){
      |           ~^~~~~~~~~
FBCRM.cpp:983:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  983 |   for(m=0;m<X.n_rows;m++){
      |           ~^~~~~~~~~
FBCRM.cpp:998:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  998 |   for(k=0;k<X.n_rows;k++){
      |           ~^~~~~~~~~
FBCRM.cpp:1053:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1053 |       for(m=0;m<X.n_rows;m++){
      |               ~^~~~~~~~~
FBCRM.cpp:1175:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 1175 |         if(rnum!=(X.n_rows-1)){  //if it's the last dose then upper bound is always 1
      |            ~~~~^~~~~~~~~~~~~~
FBCRM.cpp:1183:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 1183 |         if(rnum!=(X.n_rows-1)){ //if rnum is not the last dose then only clustering above can happen
      |            ~~~~^~~~~~~~~~~~~~
FBCRM.cpp:1212:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 1212 |         if(rnum!=(X.n_rows-1)){  //if it's the last dose then upper bound is always 1
      |            ~~~~^~~~~~~~~~~~~~
FBCRM.cpp:1227:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 1227 |           if(rnum!=(X.n_rows-1)){
      |              ~~~~^~~~~~~~~~~~~~
FBCRM.cpp:1260:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 1260 |           if(rnum!=(X.n_rows-1)){
      |              ~~~~^~~~~~~~~~~~~~
FBCRM.cpp:1299:25: warning: comparison of integer expressions of different signedness: ‘Rcpp::traits::storage_type<13>::type’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
 1299 |           if((rand(m)-1)!=(X.n_rows-1)){ //If it's not the last dose
      |              ~~~~~~~~~~~^~~~~~~~~~~~~~
FBCRM.cpp:1305:25: warning: comparison of integer expressions of different signedness: ‘Rcpp::traits::storage_type<13>::type’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
 1305 |           if((rand(m)-1)!=(X.n_rows-1)){
      |              ~~~~~~~~~~~^~~~~~~~~~~~~~
FBCRM.cpp:1343:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1343 |       for(k=0;k<X.n_rows;k++){
      |               ~^~~~~~~~~
FBCRM.cpp:1366:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1366 |       for(k=0;k<X.n_rows;k++){
      |               ~^~~~~~~~~
FBCRM.cpp:1397:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1397 |       for(k=0;k<X.n_rows;k++){
      |               ~^~~~~~~~~
FBCRM.cpp:1406:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1406 |     for(k=0;k<X.n_rows;k++){
      |             ~^~~~~~~~~
FBCRM.cpp:1439:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1439 |   for(m=0;m<X.n_rows;m++){  //make them matrix
      |           ~^~~~~~~~~
FBCRM.cpp: In function ‘Rcpp::List BMACRM_RUNTRIAL(int, int, arma::vec, arma::mat, double, double, int, double, double, double, double)’:
FBCRM.cpp:1677:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1677 |       for(j=0;j<skel.n_rows;j++){
      |               ~^~~~~~~~~~~~
FBCRM.cpp:1679:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1679 |         for(k=0;k<X.n_rows;k++){
      |                 ~^~~~~~~~~
FBCRM.cpp:1697:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1697 |         for(k=0;k<X.n_rows;k++){
      |                 ~^~~~~~~~~
FBCRM.cpp: In function ‘Rcpp::List MFBCRM_MCMC(arma::vec, arma::vec, arma::mat, double, double, double, int)’:
FBCRM.cpp:1952:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1952 |   for(i=0;i<X.n_rows;i++){
      |           ~^~~~~~~~~
FBCRM.cpp:1957:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1957 |   for(i=0;i<W.n_rows;i++){
      |           ~^~~~~~~~~
FBCRM.cpp:1958:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1958 |     for(j=0;j<X.n_rows;j++){
      |             ~^~~~~~~~~
FBCRM.cpp:1990:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1990 |   for(j=0;j<X.n_rows;j++){
      |           ~^~~~~~~~~
FBCRM.cpp:2003:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2003 |   for(m=0;m<X.n_rows;m++){
      |           ~^~~~~~~~~
FBCRM.cpp:2027:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2027 |   for(k=0;k<X.n_rows;k++){
      |           ~^~~~~~~~~
FBCRM.cpp:2081:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2081 |       for(m=0;m<X.n_rows;m++){
      |               ~^~~~~~~~~
FBCRM.cpp:2107:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2107 |       for(k=0;k<X.n_rows;k++){
      |               ~^~~~~~~~~
FBCRM.cpp:2129:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2129 |         for(k=0;k<X.n_rows;k++){
      |                 ~^~~~~~~~~
FBCRM.cpp:2155:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2155 |           for(k=0;k<X.n_rows;k++){
      |                   ~^~~~~~~~~
FBCRM.cpp:2211:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 2211 |         if(rnum!=(X.n_rows-1)){  //if it's the last dose then upper bound is always 1
      |            ~~~~^~~~~~~~~~~~~~
FBCRM.cpp:2219:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 2219 |         if(rnum!=(X.n_rows-1)){ //if rnum is not the last dose then only clustering above can happen
      |            ~~~~^~~~~~~~~~~~~~
FBCRM.cpp:2248:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 2248 |         if(rnum!=(X.n_rows-1)){  //if it's the last dose then upper bound is always 1
      |            ~~~~^~~~~~~~~~~~~~
FBCRM.cpp:2263:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 2263 |           if(rnum!=(X.n_rows-1)){
      |              ~~~~^~~~~~~~~~~~~~
FBCRM.cpp:2296:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 2296 |           if(rnum!=(X.n_rows-1)){
      |              ~~~~^~~~~~~~~~~~~~
FBCRM.cpp:2334:25: warning: comparison of integer expressions of different signedness: ‘Rcpp::traits::storage_type<13>::type’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
 2334 |           if((rand(m)-1)!=(X.n_rows-1)){ //If it's not the last dose
      |              ~~~~~~~~~~~^~~~~~~~~~~~~~
FBCRM.cpp:2340:25: warning: comparison of integer expressions of different signedness: ‘Rcpp::traits::storage_type<13>::type’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
 2340 |           if((rand(m)-1)!=(X.n_rows-1)){
      |              ~~~~~~~~~~~^~~~~~~~~~~~~~
FBCRM.cpp:2370:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2370 |       for(k=0;k<X.n_rows;k++){
      |               ~^~~~~~~~~
FBCRM.cpp:2400:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2400 |       for(k=0;k<X.n_rows;k++){
      |               ~^~~~~~~~~
FBCRM.cpp:2421:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2421 |       for(k=0;k<X.n_rows;k++){
      |               ~^~~~~~~~~
FBCRM.cpp:2435:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2435 |       for(k=0;k<X.n_rows;k++){
      |               ~^~~~~~~~~
FBCRM.cpp:2451:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2451 |         for(k=0;k<X.n_rows;k++){
      |                 ~^~~~~~~~~
FBCRM.cpp:2479:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2479 |       for(k=0;k<X.n_rows;k++){
      |               ~^~~~~~~~~
FBCRM.cpp:2485:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2485 |     for(k=0;k<X.n_rows;k++){
      |             ~^~~~~~~~~
FBCRM.cpp:2514:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2514 |   for(m=0;m<X.n_rows;m++){  //make them matrix
      |           ~^~~~~~~~~
FBCRM.cpp: In function ‘Rcpp::List MFBCRM_RUNTRIAL(double, double, arma::vec, arma::mat, double, double, double, double, double, double, double, double, double)’:
FBCRM.cpp:2615:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2615 |         for(j=0;j<W.n_rows;j++){
      |                 ~^~~~~~~~~
FBCRM.cpp:2617:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2617 |           for(k=0;k<X.n_rows;k++){
      |                   ~^~~~~~~~~
FBCRM.cpp:2635:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 2635 |           for(k=0;k<X.n_rows;k++){
      |                   ~^~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -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-patched-gcc/Work/build/lib -Wl,-O1 -o FBCRM.so FBCRM.o RcppExports.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpvnyJE0/R.INSTALL7ff157cdcf99a/FBCRM/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpvnyJE0/R.INSTALL7ff157cdcf99a/FBCRM/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpvnyJE0/R.INSTALL7ff157cdcf99a/FBCRM/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-FBCRM/00new/FBCRM/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘FBCRM’
    finding HTML links ... done
    FBCRMSimTrial                           html  
    GetFBCRM                                html  
    GetMFBCRM                               html  
    MFBCRMSimTrial                          html  
** 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 (FBCRM)