* installing *source* package ‘BayesReversePLLH’ ... ** package ‘BayesReversePLLH’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (GCC) 14.2.0’ using C++11 make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/BayesReversePLLH/src' g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c BayesReversePLLH.cpp -o BayesReversePLLH.o In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/armadillo:26, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:58, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:29, from BayesReversePLLH.cpp:5: /data/gannet/ripley/R/test-dev/RcppArmadillo/include/armadillo_bits/config.hpp:353:86: note: '#pragma message: INFO: support for ARMA_DONT_PRINT_ERRORS option has been removed' 353 | #pragma message ("INFO: support for ARMA_DONT_PRINT_ERRORS option has been removed") | ^ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/armadillo_bits/config.hpp:358:75: note: '#pragma message: INFO: suggest to use ARMA_WARN_LEVEL option instead' 358 | #pragma message ("INFO: suggest to use ARMA_WARN_LEVEL option instead") | ^ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/armadillo_bits/config.hpp:361:61: note: '#pragma message: INFO: see the documentation for details' 361 | #pragma message ("INFO: see the documentation for details") | ^ g++-14 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o BayesReversePLLH.cpp: In function 'arma::vec GetSlopePLLH(arma::vec, arma::vec, int)': BayesReversePLLH.cpp:94:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 94 | for(m=0;m<slopes.n_rows;m++){ | ~^~~~~~~~~~~~~~ BayesReversePLLH.cpp: In function 'double LikePLLHTrt(arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, int, double)': BayesReversePLLH.cpp:135:15: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 135 | for(m=0; m<Y.n_rows;m++){ | ~^~~~~~~~~ BayesReversePLLH.cpp: In function 'double LikePLLHCOV(arma::vec, arma::vec, arma::mat, arma::vec, arma::vec, int, arma::vec)': BayesReversePLLH.cpp:196:15: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 196 | for(m=0; m<Y.n_rows;m++){ | ~^~~~~~~~~ BayesReversePLLH.cpp: In function 'double ApproxMean(arma::vec, arma::vec, arma::vec, int)': BayesReversePLLH.cpp:291:13: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 291 | for(m=0; m<Y.n_rows;m++){ | ~^~~~~~~~~ BayesReversePLLH.cpp: In function 'arma::vec SurvPLLH(arma::vec, arma::vec, arma::vec, int)': BayesReversePLLH.cpp:351:13: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 351 | for(m=0; m<Y.n_rows;m++){ | ~^~~~~~~~~ BayesReversePLLH.cpp:345:10: warning: unused variable 'mean' [-Wunused-variable] 345 | double mean=0; | ^~~~ BayesReversePLLH.cpp: In function 'int SampleBirth(arma::vec, int)': BayesReversePLLH.cpp:424:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 424 | for(m=1;m<cumprob.n_rows;m++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:438:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 438 | for(m=1;m<cumprob.n_rows;m++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp: In function 'Rcpp::List BayesPiecewiseLinearLogHazardTrt(arma::vec, arma::vec, arma::vec, double, int)': BayesReversePLLH.cpp:905:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 905 | for(j=Spot;j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:912:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 912 | for(j=Spot; j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:977:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 977 | for(j=(Spot+1);j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:982:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 982 | for(j=(Spot+1);j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:1045:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 1045 | for(j=0;j<sstore.n_cols;j++){ | ~^~~~~~~~~~~~~~ BayesReversePLLH.cpp:1048:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 1048 | for(j=0;j<lamstore.n_cols;j++){ | ~^~~~~~~~~~~~~~~~ BayesReversePLLH.cpp:513:10: warning: unused variable 'PSpike' [-Wunused-variable] 513 | double PSpike=PSlab/(1-PSlab); | ^~~~~~ BayesReversePLLH.cpp:519:7: warning: unused variable 'b' [-Wunused-variable] 519 | int b=0; | ^ BayesReversePLLH.cpp:520:7: warning: unused variable 'k' [-Wunused-variable] 520 | int k=0; | ^ BayesReversePLLH.cpp:567:7: warning: unused variable 'which1' [-Wunused-variable] 567 | int which1=0; | ^~~~~~ BayesReversePLLH.cpp:572:10: warning: unused variable 'mean2' [-Wunused-variable] 572 | double mean2=0; | ^~~~~ BayesReversePLLH.cpp:578:10: warning: unused variable 'mean1' [-Wunused-variable] 578 | double mean1=0; | ^~~~~ BayesReversePLLH.cpp:579:10: warning: unused variable 'Con' [-Wunused-variable] 579 | double Con=0; | ^~~ BayesReversePLLH.cpp:638:10: warning: unused variable 'bprop' [-Wunused-variable] 638 | double bprop=1; | ^~~~~ BayesReversePLLH.cpp:639:10: warning: unused variable 'Intb' [-Wunused-variable] 639 | double Intb=1; | ^~~~ BayesReversePLLH.cpp:640:10: warning: unused variable 'Numb' [-Wunused-variable] 640 | double Numb=2; | ^~~~ BayesReversePLLH.cpp:644:10: warning: unused variable 'prob1' [-Wunused-variable] 644 | double prob1=0; | ^~~~~ BayesReversePLLH.cpp:645:10: warning: unused variable 'med2' [-Wunused-variable] 645 | double med2=0; | ^~~~ BayesReversePLLH.cpp: In function 'double LikePEHTrt(arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, int, double)': BayesReversePLLH.cpp:1125:15: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 1125 | for(m=0; m<Y.n_rows;m++){ | ~^~~~~~~~~ BayesReversePLLH.cpp: In function 'double LikePEHCOV(arma::vec, arma::vec, arma::mat, arma::vec, arma::vec, int, arma::vec)': BayesReversePLLH.cpp:1168:15: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 1168 | for(m=0; m<Y.n_rows;m++){ | ~^~~~~~~~~ BayesReversePLLH.cpp: In function 'Rcpp::List BayesPiecewiseHazardTrt(arma::vec, arma::vec, arma::vec, double, int)': BayesReversePLLH.cpp:1539:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1539 | for(j=(Spot+1);j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:1546:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1546 | for(j=(Spot+2);j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:1636:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1636 | for(j=Spot;j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:1648:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1648 | for(j=Spot; j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:1748:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 1748 | for(j=0;j<sstore.n_cols;j++){ | ~^~~~~~~~~~~~~~ BayesReversePLLH.cpp:1752:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 1752 | for(j=0;j<lamstore.n_cols;j++){ | ~^~~~~~~~~~~~~~~~ BayesReversePLLH.cpp:1238:7: warning: unused variable 'b' [-Wunused-variable] 1238 | int b=0; | ^ BayesReversePLLH.cpp:1246:10: warning: unused variable 'beta' [-Wunused-variable] 1246 | double beta = 1 ; | ^~~~ BayesReversePLLH.cpp:1272:10: warning: unused variable 'betaprop' [-Wunused-variable] 1272 | double betaprop=0; | ^~~~~~~~ BayesReversePLLH.cpp:1275:10: warning: unused variable 'svar' [-Wunused-variable] 1275 | double svar=1; | ^~~~ BayesReversePLLH.cpp:1276:10: warning: unused variable 'Ints' [-Wunused-variable] 1276 | double Ints=1; | ^~~~ BayesReversePLLH.cpp:1277:10: warning: unused variable 'Nums' [-Wunused-variable] 1277 | double Nums=2; | ^~~~ BayesReversePLLH.cpp:1281:10: warning: unused variable 'mean1' [-Wunused-variable] 1281 | double mean1=0; | ^~~~~ BayesReversePLLH.cpp:1282:10: warning: unused variable 'Con' [-Wunused-variable] 1282 | double Con=0; | ^~~ BayesReversePLLH.cpp:1303:7: warning: unused variable 'which1' [-Wunused-variable] 1303 | int which1=0; | ^~~~~~ BayesReversePLLH.cpp:1308:10: warning: unused variable 'bprop' [-Wunused-variable] 1308 | double bprop=1; | ^~~~~ BayesReversePLLH.cpp:1309:10: warning: unused variable 'Intb' [-Wunused-variable] 1309 | double Intb=1; | ^~~~ BayesReversePLLH.cpp:1310:10: warning: unused variable 'Numb' [-Wunused-variable] 1310 | double Numb=2; | ^~~~ BayesReversePLLH.cpp:1314:10: warning: unused variable 'prob1' [-Wunused-variable] 1314 | double prob1=0; | ^~~~~ BayesReversePLLH.cpp:1315:10: warning: unused variable 'med2' [-Wunused-variable] 1315 | double med2=0; | ^~~~ BayesReversePLLH.cpp: In function 'Rcpp::List BayesPiecewiseHazardCOV(arma::vec, arma::vec, arma::mat, double, int)': BayesReversePLLH.cpp:1997:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 1997 | for(j=0;j<COV.n_cols;j++){ | ~^~~~~~~~~~~ BayesReversePLLH.cpp:2034:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2034 | for(j=0;j<COV.n_cols;j++){ | ~^~~~~~~~~~~ BayesReversePLLH.cpp:2195:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2195 | for(j=(Spot+1);j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:2202:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2202 | for(j=(Spot+2);j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:2292:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2292 | for(j=Spot;j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:2304:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2304 | for(j=Spot; j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:2382:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2382 | for(j=0;j<COV.n_cols;j++){ | ~^~~~~~~~~~~ BayesReversePLLH.cpp:2409:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2409 | for(j=0;j<sstore.n_cols;j++){ | ~^~~~~~~~~~~~~~ BayesReversePLLH.cpp:2413:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2413 | for(j=0;j<lamstore.n_cols;j++){ | ~^~~~~~~~~~~~~~~~ BayesReversePLLH.cpp:2419:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2419 | for(j=0;j<COV.n_cols;j++){ | ~^~~~~~~~~~~ BayesReversePLLH.cpp:1880:7: warning: unused variable 'b' [-Wunused-variable] 1880 | int b=0; | ^ BayesReversePLLH.cpp:1881:7: warning: unused variable 'k' [-Wunused-variable] 1881 | int k=0; | ^ BayesReversePLLH.cpp:1888:10: warning: unused variable 'beta' [-Wunused-variable] 1888 | double beta = 1 ; | ^~~~ BayesReversePLLH.cpp:1914:10: warning: unused variable 'betaprop' [-Wunused-variable] 1914 | double betaprop=0; | ^~~~~~~~ BayesReversePLLH.cpp:1917:10: warning: unused variable 'svar' [-Wunused-variable] 1917 | double svar=1; | ^~~~ BayesReversePLLH.cpp:1918:10: warning: unused variable 'Ints' [-Wunused-variable] 1918 | double Ints=1; | ^~~~ BayesReversePLLH.cpp:1919:10: warning: unused variable 'Nums' [-Wunused-variable] 1919 | double Nums=2; | ^~~~ BayesReversePLLH.cpp:1921:10: warning: unused variable 'mean2' [-Wunused-variable] 1921 | double mean2=0; | ^~~~~ BayesReversePLLH.cpp:1923:10: warning: unused variable 'mean1' [-Wunused-variable] 1923 | double mean1=0; | ^~~~~ BayesReversePLLH.cpp:1924:10: warning: unused variable 'Con' [-Wunused-variable] 1924 | double Con=0; | ^~~ BayesReversePLLH.cpp:1945:7: warning: unused variable 'which1' [-Wunused-variable] 1945 | int which1=0; | ^~~~~~ BayesReversePLLH.cpp:1950:10: warning: unused variable 'bprop' [-Wunused-variable] 1950 | double bprop=1; | ^~~~~ BayesReversePLLH.cpp:1951:10: warning: unused variable 'Intb' [-Wunused-variable] 1951 | double Intb=1; | ^~~~ BayesReversePLLH.cpp:1952:10: warning: unused variable 'Numb' [-Wunused-variable] 1952 | double Numb=2; | ^~~~ BayesReversePLLH.cpp:1956:10: warning: unused variable 'prob1' [-Wunused-variable] 1956 | double prob1=0; | ^~~~~ BayesReversePLLH.cpp:1957:10: warning: unused variable 'med2' [-Wunused-variable] 1957 | double med2=0; | ^~~~ BayesReversePLLH.cpp: In function 'Rcpp::List BayesPiecewiseLinearLogHazardCOV(arma::vec, arma::vec, arma::mat, double, int)': BayesReversePLLH.cpp:2613:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2613 | for(j=0;j<COV.n_cols;j++){ | ~^~~~~~~~~~~ BayesReversePLLH.cpp:2652:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2652 | for(j=0;j<COV.n_cols;j++){ | ~^~~~~~~~~~~ BayesReversePLLH.cpp:2835:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2835 | for(j=Spot;j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:2842:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2842 | for(j=Spot; j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:2907:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2907 | for(j=(Spot+1);j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:2912:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2912 | for(j=(Spot+1);j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:2948:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2948 | for(j=0;j<COV.n_cols;j++){ | ~^~~~~~~~~~~ BayesReversePLLH.cpp:2976:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2976 | for(j=0;j<sstore.n_cols;j++){ | ~^~~~~~~~~~~~~~ BayesReversePLLH.cpp:2980:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2980 | for(j=0;j<lamstore.n_cols;j++){ | ~^~~~~~~~~~~~~~~~ BayesReversePLLH.cpp:2986:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 2986 | for(j=0;j<COV.n_cols;j++){ | ~^~~~~~~~~~~ BayesReversePLLH.cpp:2490:7: warning: unused variable 'b' [-Wunused-variable] 2490 | int b=0; | ^ BayesReversePLLH.cpp:2491:7: warning: unused variable 'k' [-Wunused-variable] 2491 | int k=0; | ^ BayesReversePLLH.cpp:2498:10: warning: unused variable 'beta' [-Wunused-variable] 2498 | double beta = 1 ; | ^~~~ BayesReversePLLH.cpp:2524:10: warning: unused variable 'betaprop' [-Wunused-variable] 2524 | double betaprop=0; | ^~~~~~~~ BayesReversePLLH.cpp:2527:10: warning: unused variable 'svar' [-Wunused-variable] 2527 | double svar=1; | ^~~~ BayesReversePLLH.cpp:2528:10: warning: unused variable 'Ints' [-Wunused-variable] 2528 | double Ints=1; | ^~~~ BayesReversePLLH.cpp:2529:10: warning: unused variable 'Nums' [-Wunused-variable] 2529 | double Nums=2; | ^~~~ BayesReversePLLH.cpp:2531:10: warning: unused variable 'mean2' [-Wunused-variable] 2531 | double mean2=0; | ^~~~~ BayesReversePLLH.cpp:2533:10: warning: unused variable 'mean1' [-Wunused-variable] 2533 | double mean1=0; | ^~~~~ BayesReversePLLH.cpp:2534:10: warning: unused variable 'Con' [-Wunused-variable] 2534 | double Con=0; | ^~~ BayesReversePLLH.cpp:2555:7: warning: unused variable 'which1' [-Wunused-variable] 2555 | int which1=0; | ^~~~~~ BayesReversePLLH.cpp:2560:10: warning: unused variable 'bprop' [-Wunused-variable] 2560 | double bprop=1; | ^~~~~ BayesReversePLLH.cpp:2561:10: warning: unused variable 'Intb' [-Wunused-variable] 2561 | double Intb=1; | ^~~~ BayesReversePLLH.cpp:2562:10: warning: unused variable 'Numb' [-Wunused-variable] 2562 | double Numb=2; | ^~~~ BayesReversePLLH.cpp:2566:10: warning: unused variable 'prob1' [-Wunused-variable] 2566 | double prob1=0; | ^~~~~ BayesReversePLLH.cpp:2567:10: warning: unused variable 'med2' [-Wunused-variable] 2567 | double med2=0; | ^~~~ BayesReversePLLH.cpp: In function 'double LikePEH(arma::vec, arma::vec, arma::vec, arma::vec, int)': BayesReversePLLH.cpp:3025:15: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 3025 | for(m=0; m<Y.n_rows;m++){ | ~^~~~~~~~~ BayesReversePLLH.cpp: In function 'Rcpp::List BayesPiecewiseHazard(arma::vec, arma::vec, double, int)': BayesReversePLLH.cpp:3337:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3337 | for(j=(Spot+1);j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:3344:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3344 | for(j=(Spot+2);j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:3434:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3434 | for(j=Spot;j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:3446:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3446 | for(j=Spot; j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:3525:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 3525 | for(j=0;j<sstore.n_cols;j++){ | ~^~~~~~~~~~~~~~ BayesReversePLLH.cpp:3529:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 3529 | for(j=0;j<lamstore.n_cols;j++){ | ~^~~~~~~~~~~~~~~~ BayesReversePLLH.cpp:3092:7: warning: unused variable 'b' [-Wunused-variable] 3092 | int b=0; | ^ BayesReversePLLH.cpp:3100:10: warning: unused variable 'beta' [-Wunused-variable] 3100 | double beta = 1 ; | ^~~~ BayesReversePLLH.cpp:3122:10: warning: unused variable 'betaprop' [-Wunused-variable] 3122 | double betaprop=0; | ^~~~~~~~ BayesReversePLLH.cpp:3125:10: warning: unused variable 'svar' [-Wunused-variable] 3125 | double svar=1; | ^~~~ BayesReversePLLH.cpp:3126:10: warning: unused variable 'Ints' [-Wunused-variable] 3126 | double Ints=1; | ^~~~ BayesReversePLLH.cpp:3127:10: warning: unused variable 'Nums' [-Wunused-variable] 3127 | double Nums=2; | ^~~~ BayesReversePLLH.cpp:3131:10: warning: unused variable 'mean1' [-Wunused-variable] 3131 | double mean1=0; | ^~~~~ BayesReversePLLH.cpp:3132:10: warning: unused variable 'Con' [-Wunused-variable] 3132 | double Con=0; | ^~~ BayesReversePLLH.cpp:3153:7: warning: unused variable 'which1' [-Wunused-variable] 3153 | int which1=0; | ^~~~~~ BayesReversePLLH.cpp:3158:10: warning: unused variable 'bprop' [-Wunused-variable] 3158 | double bprop=1; | ^~~~~ BayesReversePLLH.cpp:3159:10: warning: unused variable 'Intb' [-Wunused-variable] 3159 | double Intb=1; | ^~~~ BayesReversePLLH.cpp:3160:10: warning: unused variable 'Numb' [-Wunused-variable] 3160 | double Numb=2; | ^~~~ BayesReversePLLH.cpp:3164:10: warning: unused variable 'prob1' [-Wunused-variable] 3164 | double prob1=0; | ^~~~~ BayesReversePLLH.cpp:3165:10: warning: unused variable 'med2' [-Wunused-variable] 3165 | double med2=0; | ^~~~ BayesReversePLLH.cpp: In function 'double LikePLLH(arma::vec, arma::vec, arma::vec, arma::vec, int)': BayesReversePLLH.cpp:3609:15: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 3609 | for(m=0; m<Y.n_rows;m++){ | ~^~~~~~~~~ BayesReversePLLH.cpp: In function 'Rcpp::List BayesPiecewiseLinearLogHazard(arma::vec, arma::vec, double, int)': BayesReversePLLH.cpp:4031:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4031 | for(j=Spot;j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:4038:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4038 | for(j=Spot; j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:4103:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4103 | for(j=(Spot+1);j<(s.n_rows-1);j++){ | ~^~~~~~~~~~~~~ BayesReversePLLH.cpp:4108:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4108 | for(j=(Spot+1);j<(lam.n_rows-1);j++){ | ~^~~~~~~~~~~~~~~ BayesReversePLLH.cpp:4152:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 4152 | for(j=0;j<sstore.n_cols;j++){ | ~^~~~~~~~~~~~~~ BayesReversePLLH.cpp:4155:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 4155 | for(j=0;j<lamstore.n_cols;j++){ | ~^~~~~~~~~~~~~~~~ BayesReversePLLH.cpp:3680:10: warning: unused variable 'PSpike' [-Wunused-variable] 3680 | double PSpike=PSlab/(1-PSlab); | ^~~~~~ BayesReversePLLH.cpp:3686:7: warning: unused variable 'b' [-Wunused-variable] 3686 | int b=0; | ^ BayesReversePLLH.cpp:3687:7: warning: unused variable 'k' [-Wunused-variable] 3687 | int k=0; | ^ BayesReversePLLH.cpp:3727:7: warning: unused variable 'which1' [-Wunused-variable] 3727 | int which1=0; | ^~~~~~ BayesReversePLLH.cpp:3732:10: warning: unused variable 'mean2' [-Wunused-variable] 3732 | double mean2=0; | ^~~~~ BayesReversePLLH.cpp:3738:10: warning: unused variable 'mean1' [-Wunused-variable] 3738 | double mean1=0; | ^~~~~ BayesReversePLLH.cpp:3739:10: warning: unused variable 'Con' [-Wunused-variable] 3739 | double Con=0; | ^~~ BayesReversePLLH.cpp:3798:10: warning: unused variable 'bprop' [-Wunused-variable] 3798 | double bprop=1; | ^~~~~ BayesReversePLLH.cpp:3799:10: warning: unused variable 'Intb' [-Wunused-variable] 3799 | double Intb=1; | ^~~~ BayesReversePLLH.cpp:3800:10: warning: unused variable 'Numb' [-Wunused-variable] 3800 | double Numb=2; | ^~~~ BayesReversePLLH.cpp:3804:10: warning: unused variable 'prob1' [-Wunused-variable] 3804 | double prob1=0; | ^~~~~ BayesReversePLLH.cpp:3805:10: warning: unused variable 'med2' [-Wunused-variable] 3805 | double med2=0; | ^~~~ g++-14 -std=gnu++11 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o BayesReversePLLH.so BayesReversePLLH.o RcppExports.o -fopenmp -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/BayesReversePLLH/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/BayesReversePLLH/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/BayesReversePLLH/src' installing to /data/gannet/ripley/R/packages/tests-devel/BayesReversePLLH.Rcheck/00LOCK-BayesReversePLLH/00new/BayesReversePLLH/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 (BayesReversePLLH)