* installing *source* package 'FBCRM' ...
** package 'FBCRM' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpQ7xtTw/R.INSTALL86486af16494/FBCRM/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17 -shared -s -static-libgcc -o FBCRM.dll tmp.def FBCRM.o RcppExports.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.2/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpQ7xtTw/R.INSTALL86486af16494/FBCRM/src'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpQ7xtTw/R.INSTALL86486af16494/FBCRM/src'
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpQ7xtTw/R.INSTALL86486af16494/FBCRM/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-FBCRM/00new/FBCRM/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'FBCRM' as FBCRM_1.1.zip
* DONE (FBCRM)