* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘PieceExpIntensity’ ...
** this is package ‘PieceExpIntensity’ version ‘1.0.4’
** package ‘PieceExpIntensity’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-8) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp7OyOmN/R.INSTALLd14e3f57766a/PieceExpIntensity/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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-release-gcc/Work/build/lib -Wl,-O1 -o PieceExpIntensity.so PieceRATE13.o RcppExports.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp7OyOmN/R.INSTALLd14e3f57766a/PieceExpIntensity/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp7OyOmN/R.INSTALLd14e3f57766a/PieceExpIntensity/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp7OyOmN/R.INSTALLd14e3f57766a/PieceExpIntensity/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-PieceExpIntensity/00new/PieceExpIntensity/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 (PieceExpIntensity)