* installing *source* package 'PieceExpIntensity' ...
** package 'PieceExpIntensity' 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_11_19_01_50_00_21579/RtmpiuFxVN/R.INSTALL14a3463fc1eef/PieceExpIntensity/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 PieceRATE13.cpp -o PieceRATE13.o
PieceRATE13.cpp: In function 'double Like(arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, int)':
PieceRATE13.cpp:104:15: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  104 |     for(m=0; m<Y.n_rows;m++){
      |              ~^~~~~~~~~
PieceRATE13.cpp: In function 'int SampleBirth(arma::vec)':
PieceRATE13.cpp:227:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  227 |   for(m=1;m<cumprob.n_rows;m++){
      |           ~^~~~~~~~~~~~~~~
PieceRATE13.cpp:241:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  241 |     for(m=1;m<cumprob.n_rows;m++){
      |             ~^~~~~~~~~~~~~~~
PieceRATE13.cpp: In function 'Rcpp::List PieceExpIntensity2(arma::vec, arma::vec, int, double)':
PieceRATE13.cpp:617:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  617 |       for(j=(Spot+1);j<(s.n_rows-1);j++){
      |                      ~^~~~~~~~~~~~~
PieceRATE13.cpp:624:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  624 |       for(j=(Spot+1);j<(lam.n_rows-1);j++){
      |                      ~^~~~~~~~~~~~~~~
PieceRATE13.cpp:762:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  762 |         for(j=Spot;j<(lam.n_rows-1);j++){
      |                    ~^~~~~~~~~~~~~~~
PieceRATE13.cpp:779:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  779 |       for(j=Spot; j<(s.n_rows-1);j++){
      |                   ~^~~~~~~~~~~~~
PieceRATE13.cpp:905:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  905 |       for(j=0;j<sstore.n_cols;j++){
      |               ~^~~~~~~~~~~~~~
PieceRATE13.cpp:909:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  909 |       for(j=0;j<lamstore.n_cols;j++){
      |               ~^~~~~~~~~~~~~~~~
PieceRATE13.cpp:293:7: warning: unused variable 'b' [-Wunused-variable]
  293 |   int b=0;
      |       ^
PieceRATE13.cpp:294:7: warning: unused variable 'k' [-Wunused-variable]
  294 |   int k=0;
      |       ^
PieceRATE13.cpp:301:10: warning: unused variable 'beta' [-Wunused-variable]
  301 |   double beta = 1  ;
      |          ^~~~
PieceRATE13.cpp:347:10: warning: unused variable 'betaprop' [-Wunused-variable]
  347 |   double betaprop=0;
      |          ^~~~~~~~
PieceRATE13.cpp:350:10: warning: unused variable 'svar' [-Wunused-variable]
  350 |   double svar=1;
      |          ^~~~
PieceRATE13.cpp:351:10: warning: unused variable 'Ints' [-Wunused-variable]
  351 |   double Ints=1;
      |          ^~~~
PieceRATE13.cpp:352:10: warning: unused variable 'Nums' [-Wunused-variable]
  352 |   double Nums=2;
      |          ^~~~
PieceRATE13.cpp:354:10: warning: unused variable 'mean2' [-Wunused-variable]
  354 |   double mean2=0;
      |          ^~~~~
PieceRATE13.cpp:356:10: warning: unused variable 'mean1' [-Wunused-variable]
  356 |   double mean1=0;
      |          ^~~~~
PieceRATE13.cpp:357:10: warning: unused variable 'Con' [-Wunused-variable]
  357 |   double Con=0;
      |          ^~~
PieceRATE13.cpp:377:7: warning: unused variable 'which1' [-Wunused-variable]
  377 |   int which1=0;
      |       ^~~~~~
PieceRATE13.cpp:382:10: warning: unused variable 'bprop' [-Wunused-variable]
  382 |   double bprop=1;
      |          ^~~~~
PieceRATE13.cpp:383:10: warning: unused variable 'Intb' [-Wunused-variable]
  383 |   double Intb=1;
      |          ^~~~
PieceRATE13.cpp:384:10: warning: unused variable 'Numb' [-Wunused-variable]
  384 |   double Numb=2;
      |          ^~~~
PieceRATE13.cpp:389:10: warning: unused variable 'prob1' [-Wunused-variable]
  389 |   double prob1=0;
      |          ^~~~~
PieceRATE13.cpp:390:10: warning: unused variable 'med2' [-Wunused-variable]
  390 |   double med2=0;
      |          ^~~~
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 PieceExpIntensity.dll tmp.def PieceRATE13.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_11_19_01_50_00_21579/RtmpiuFxVN/R.INSTALL14a3463fc1eef/PieceExpIntensity/src'
make[1]: Entering directory '/d/temp/2024_11_19_01_50_00_21579/RtmpiuFxVN/R.INSTALL14a3463fc1eef/PieceExpIntensity/src'
make[1]: Leaving directory '/d/temp/2024_11_19_01_50_00_21579/RtmpiuFxVN/R.INSTALL14a3463fc1eef/PieceExpIntensity/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-PieceExpIntensity/00new/PieceExpIntensity/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 'PieceExpIntensity' as PieceExpIntensity_1.0.4.zip
* DONE (PieceExpIntensity)