* installing *source* package 'Phase12Compare' ...
** package 'Phase12Compare' 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_18_01_50_01_11818/RtmpKox1kN/R.INSTALL13c7c12a933d5/Phase12Compare/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c SPSOCODE.cpp -o SPSOCODE.o
SPSOCODE.cpp: In function 'arma::mat MATMULT(arma::mat, arma::mat)':
SPSOCODE.cpp:54:15: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   54 |   for(j = 0 ;j<X.n_rows;j++){
      |              ~^~~~~~~~~
SPSOCODE.cpp:55:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   55 |     for(k=0;k<PROD.n_cols;k++){
      |             ~^~~~~~~~~~~~
SPSOCODE.cpp:57:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   57 |       for(m=0;m<X.n_cols;m++){
      |               ~^~~~~~~~~
SPSOCODE.cpp: In function 'arma::vec GETBIN(arma::vec)':
SPSOCODE.cpp:98:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   98 |   for(j=1;j<PVEC.n_rows;j++){
      |           ~^~~~~~~~~~~~
SPSOCODE.cpp: In function 'int ReturnOpt(arma::vec, arma::vec)':
SPSOCODE.cpp:243:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  243 |   for(j=0;j<DoseTried1.n_rows;j++){
      |           ~^~~~~~~~~~~~~~~~~~
SPSOCODE.cpp: In function 'double GetMin(arma::vec)':
SPSOCODE.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<DESIRE.n_rows;j++){
      |           ~^~~~~~~~~~~~~~
SPSOCODE.cpp: In function 'int GetOrderSum(arma::vec)':
SPSOCODE.cpp:547:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  547 |   for(k=1;k<Y.n_rows;k++){
      |           ~^~~~~~~~~
SPSOCODE.cpp: In function 'arma::vec GlobalPropose(arma::vec, int)':
SPSOCODE.cpp:601:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  601 |     for(k=1;k<(MUPROP.n_rows-1);k++){
      |             ~^~~~~~~~~~~~~~~~~~
SPSOCODE.cpp:614:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  614 |     for(k=1;k<(MUPROP.n_rows-1);k++){
      |             ~^~~~~~~~~~~~~~~~~~
SPSOCODE.cpp:628:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  628 |     for(k=0;k<MUPROP.n_rows;k++){
      |             ~^~~~~~~~~~~~~~
SPSOCODE.cpp: In function 'double Like(arma::vec, arma::vec, arma::vec, arma::vec, double, int)':
SPSOCODE.cpp:700:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  700 |   for(i=0;i<YE.n_rows;i++){
      |           ~^~~~~~~~~~
SPSOCODE.cpp:676:7: warning: unused variable 'm' [-Wunused-variable]
  676 |   int m=0;
      |       ^
SPSOCODE.cpp: In function 'int GetDose1(arma::vec)':
SPSOCODE.cpp:775:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  775 |   for(j=0;j<DESIRE.n_rows;j++){
      |           ~^~~~~~~~~~~~~~
SPSOCODE.cpp:836:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  836 |         if(which1==(cumprob.n_rows-1)){
      |            ~~~~~~^~~~~~~~~~~~~~~~~~~~
SPSOCODE.cpp: In function 'int GetDose2(arma::vec, arma::vec)':
SPSOCODE.cpp:890:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  890 |   for(j=0;j<DoseTried1.n_rows;j++){
      |           ~^~~~~~~~~~~~~~~~~~
SPSOCODE.cpp:901:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  901 |   for(j=0;j<Desire.n_rows;j++){
      |           ~^~~~~~~~~~~~~~
SPSOCODE.cpp: In function 'int GetDose3(arma::vec, arma::vec)':
SPSOCODE.cpp:942:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  942 |   for(j=0;j<DoseTried1.n_rows;j++){
      |           ~^~~~~~~~~~~~~~~~~~
SPSOCODE.cpp:953:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  953 |   for(j=0;j<Desire.n_rows;j++){
      |           ~^~~~~~~~~~~~~~
SPSOCODE.cpp: In function 'int RandomDoseUT(arma::vec, arma::vec)':
SPSOCODE.cpp:989:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  989 |   for(j=0;j<DoseTried1.n_rows;j++){
      |           ~^~~~~~~~~~~~~~~~~~
SPSOCODE.cpp:1000:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1000 |   for(j=0;j<Desire.n_rows;j++){
      |           ~^~~~~~~~~~~~~~
SPSOCODE.cpp: In function 'Rcpp::List RunAdaptiveEffToxTrialCORR(int, arma::vec, arma::vec, arma::vec, arma::mat, arma::vec, arma::vec, int, int, int, double, int, arma::mat)':
SPSOCODE.cpp:1365:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1365 |           for(j=0;j<Dose.n_rows;j++){
      |                   ~^~~~~~~~~~~~
SPSOCODE.cpp:1410:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1410 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:1411:26: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1411 |         if(sum(Doses2==j)>=cohort){
      |            ~~~~~~~~~~~~~~^~~~~~~~
SPSOCODE.cpp:1434:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1434 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:1454:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1454 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:1536:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1536 |           for(j=0;j<Dose.n_rows;j++){
      |                   ~^~~~~~~~~~~~
SPSOCODE.cpp:1702:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1702 |           for(j=0;j<Dose.n_rows;j++){
      |                   ~^~~~~~~~~~~~
SPSOCODE.cpp:1749:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1749 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:1750:26: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1750 |         if(sum(Doses2==j)>=cohort){
      |            ~~~~~~~~~~~~~~^~~~~~~~
SPSOCODE.cpp:1773:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1773 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:1793:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1793 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:1823:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1823 |         for(j=0;j<Dose.n_rows;j++){
      |                 ~^~~~~~~~~~~~
SPSOCODE.cpp:1858:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1858 |     for(j=0;j<Dose.n_rows;j++){
      |             ~^~~~~~~~~~~~
SPSOCODE.cpp:1080:10: warning: unused variable 'p' [-Wunused-variable]
 1080 |   double p=0;
      |          ^
SPSOCODE.cpp:1081:10: warning: unused variable 'pu' [-Wunused-variable]
 1081 |   double pu=0;
      |          ^~
SPSOCODE.cpp:1082:10: warning: unused variable 'pl' [-Wunused-variable]
 1082 |   double pl=0;
      |          ^~
SPSOCODE.cpp:1083:10: warning: unused variable 'tol' [-Wunused-variable]
 1083 |   double tol=.005;
      |          ^~~
SPSOCODE.cpp:1109:7: warning: unused variable 'Count' [-Wunused-variable]
 1109 |   int Count=0;
      |       ^~~~~
SPSOCODE.cpp:1119:7: warning: unused variable 'nREP' [-Wunused-variable]
 1119 |   int nREP=0;
      |       ^~~~
SPSOCODE.cpp:1162:10: warning: unused variable 'min1' [-Wunused-variable]
 1162 |   double min1=0;
      |          ^~~~
SPSOCODE.cpp: In function 'Rcpp::List RunAdaptiveEffToxTrialCORRCONTOUR(int, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, int, int, int, double, int, arma::mat)':
SPSOCODE.cpp:2244:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2244 |           for(j=0;j<Dose.n_rows;j++){
      |                   ~^~~~~~~~~~~~
SPSOCODE.cpp:2289:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2289 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:2290:26: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2290 |         if(sum(Doses2==j)>=cohort){
      |            ~~~~~~~~~~~~~~^~~~~~~~
SPSOCODE.cpp:2309:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2309 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:2328:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2328 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:2400:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2400 |           for(j=0;j<Dose.n_rows;j++){
      |                   ~^~~~~~~~~~~~
SPSOCODE.cpp:2566:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2566 |           for(j=0;j<Dose.n_rows;j++){
      |                   ~^~~~~~~~~~~~
SPSOCODE.cpp:2610:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2610 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:2611:26: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 2611 |         if(sum(Doses2==j)>=cohort){
      |            ~~~~~~~~~~~~~~^~~~~~~~
SPSOCODE.cpp:2631:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2631 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:2650:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2650 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:2672:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2672 |         for(j=0;j<Dose.n_rows;j++){
      |                 ~^~~~~~~~~~~~
SPSOCODE.cpp:2708:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 2708 |     for(j=0;j<Dose.n_rows;j++){
      |             ~^~~~~~~~~~~~
SPSOCODE.cpp:1990:7: warning: unused variable 'Count' [-Wunused-variable]
 1990 |   int Count=0;
      |       ^~~~~
SPSOCODE.cpp:2000:7: warning: unused variable 'nREP' [-Wunused-variable]
 2000 |   int nREP=0;
      |       ^~~~
SPSOCODE.cpp:2043:10: warning: unused variable 'min1' [-Wunused-variable]
 2043 |   double min1=0;
      |          ^~~~
SPSOCODE.cpp: In function 'Rcpp::List UTEFFTOX(arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double)':
SPSOCODE.cpp:3408:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 3408 |         for(k=1;k<ORDER.n_rows;k++){
      |                 ~^~~~~~~~~~~~~
SPSOCODE.cpp:3521:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 3521 |         for(k=1;k<ORDER.n_rows;k++){
      |                 ~^~~~~~~~~~~~~
SPSOCODE.cpp:2821:10: warning: unused variable 'phivar' [-Wunused-variable]
 2821 |   double phivar=Hypervars[2];  //Variance parameter for frailty correlations
      |          ^~~~~~
SPSOCODE.cpp:2822:10: warning: variable 'phi' set but not used [-Wunused-but-set-variable]
 2822 |   double phi=0;
      |          ^~~
SPSOCODE.cpp:2893:10: warning: unused variable 'epprop' [-Wunused-variable]
 2893 |   double epprop = 0; //proposal values for epsilon
      |          ^~~~~~
SPSOCODE.cpp:2942:10: warning: unused variable 'epEC' [-Wunused-variable]
 2942 |   double epEC = 1;
      |          ^~~~
SPSOCODE.cpp:2943:10: warning: unused variable 'epTC' [-Wunused-variable]
 2943 |   double epTC = 1;
      |          ^~~~
SPSOCODE.cpp:2982:10: warning: unused variable 'holdmin' [-Wunused-variable]
 2982 |   double holdmin=1;
      |          ^~~~~~~
SPSOCODE.cpp: In function 'Rcpp::List AssignEffTox(arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double)':
SPSOCODE.cpp:4002:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 4002 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:4047:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 4047 |   for(j=0;j<Dose.n_rows;j++){
      |           ~^~~~~~~~~~~~
SPSOCODE.cpp:4065:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 4065 |   for(j=0;j<Dose.n_rows;j++){
      |           ~^~~~~~~~~~~~
SPSOCODE.cpp:4084:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 4084 |   for(j=0;j<Dose.n_rows;j++){
      |           ~^~~~~~~~~~~~
SPSOCODE.cpp:4114:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 4114 |     for(j=1;j<Dose.n_rows;j++){
      |             ~^~~~~~~~~~~~
SPSOCODE.cpp:3744:7: warning: unused variable 'Stopped' [-Wunused-variable]
 3744 |   int Stopped=0;
      |       ^~~~~~~
SPSOCODE.cpp:3791:7: warning: unused variable 'Count' [-Wunused-variable]
 3791 |   int Count=0;
      |       ^~~~~
SPSOCODE.cpp:3801:7: warning: unused variable 'nREP' [-Wunused-variable]
 3801 |   int nREP=0;
      |       ^~~~
SPSOCODE.cpp:3824:7: warning: unused variable 'm' [-Wunused-variable]
 3824 |   int m=0;
      |       ^
SPSOCODE.cpp:3841:7: warning: variable 'STOPPED' set but not used [-Wunused-but-set-variable]
 3841 |   int STOPPED=0;
      |       ^~~~~~~
SPSOCODE.cpp:3842:7: warning: unused variable 'i' [-Wunused-variable]
 3842 |   int i=0;
      |       ^
SPSOCODE.cpp:3844:10: warning: unused variable 'min1' [-Wunused-variable]
 3844 |   double min1=0;
      |          ^~~~
SPSOCODE.cpp:3848:7: warning: unused variable 'nRep' [-Wunused-variable]
 3848 |   int nRep=0;
      |       ^~~~
SPSOCODE.cpp: In function 'Rcpp::List AssignEffToxUT(arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::mat, arma::vec, arma::vec, double)':
SPSOCODE.cpp:4471:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 4471 |       for(j=0;j<Dose.n_rows;j++){
      |               ~^~~~~~~~~~~~
SPSOCODE.cpp:4516:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 4516 |   for(j=0;j<Dose.n_rows;j++){
      |           ~^~~~~~~~~~~~
SPSOCODE.cpp:4536:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 4536 |   for(j=0;j<Dose.n_rows;j++){
      |           ~^~~~~~~~~~~~
SPSOCODE.cpp:4559:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 4559 |   for(j=0;j<Dose.n_rows;j++){
      |           ~^~~~~~~~~~~~
SPSOCODE.cpp:4598:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 4598 |     for(j=1;j<Dose.n_rows;j++){
      |             ~^~~~~~~~~~~~
SPSOCODE.cpp:4222:7: warning: unused variable 'Stopped' [-Wunused-variable]
 4222 |   int Stopped=0;
      |       ^~~~~~~
SPSOCODE.cpp:4240:10: warning: unused variable 'p' [-Wunused-variable]
 4240 |   double p=0;
      |          ^
SPSOCODE.cpp:4241:10: warning: unused variable 'pu' [-Wunused-variable]
 4241 |   double pu=0;
      |          ^~
SPSOCODE.cpp:4242:10: warning: unused variable 'pl' [-Wunused-variable]
 4242 |   double pl=0;
      |          ^~
SPSOCODE.cpp:4243:10: warning: unused variable 'tol' [-Wunused-variable]
 4243 |   double tol=.005;
      |          ^~~
SPSOCODE.cpp:4258:7: warning: unused variable 'Count' [-Wunused-variable]
 4258 |   int Count=0;
      |       ^~~~~
SPSOCODE.cpp:4268:7: warning: unused variable 'nREP' [-Wunused-variable]
 4268 |   int nREP=0;
      |       ^~~~
SPSOCODE.cpp:4294:7: warning: unused variable 'm' [-Wunused-variable]
 4294 |   int m=0;
      |       ^
SPSOCODE.cpp:4311:7: warning: variable 'STOPPED' set but not used [-Wunused-but-set-variable]
 4311 |   int STOPPED=0;
      |       ^~~~~~~
SPSOCODE.cpp:4312:7: warning: unused variable 'i' [-Wunused-variable]
 4312 |   int i=0;
      |       ^
SPSOCODE.cpp:4314:10: warning: unused variable 'min1' [-Wunused-variable]
 4314 |   double min1=0;
      |          ^~~~
SPSOCODE.cpp:4318:7: warning: unused variable 'nRep' [-Wunused-variable]
 4318 |   int nRep=0;
      |       ^~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o Phase12Compare.dll tmp.def RcppExports.o SPSOCODE.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpKox1kN/R.INSTALL13c7c12a933d5/Phase12Compare/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpKox1kN/R.INSTALL13c7c12a933d5/Phase12Compare/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpKox1kN/R.INSTALL13c7c12a933d5/Phase12Compare/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-Phase12Compare/00new/Phase12Compare/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 'Phase12Compare' as Phase12Compare_1.5.zip
* DONE (Phase12Compare)