* installing *source* package ‘PSPI’ ...
** this is package ‘PSPI’ version ‘1.1’
** package ‘PSPI’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/PSPI/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/data/gannet/ripley/R/R-devel/include -I../inst/include/ -I/data/gannet/ripley/R/R-devel/include/Rcpp -I/data/gannet/ripley/R/R-devel/include/RcppArmadillo -I/data/gannet/ripley/R/R-devel/include/RcppDist -I/data/gannet/ripley/R/R-devel/include/RcppProgress -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/pg/include' -I/usr/local/include -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 MCMC_PSPI.cpp -o MCMC_PSPI.o
In file included from bart_model.h:42,
from BARTforPSPI.h:16,
from MCMC_PSPI.cpp:9:
BART/bartfuns.h: In function ‘double getpb(tree&, xinfo&, pinfo&, tree::npv&)’:
BART/bartfuns.h:75:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
75 | for(size_t i=0;i!=bnv.size();i++)
| ^~~
BART/bartfuns.h:77:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
77 | if(goodbots.size()==0) { //are there any bottom nodes you can split on?
| ^~
In file included from bart_model.h:43:
BART/bd.h: In function ‘double getpb_bd(tree&, xinfo&, pinfo&, tree::npv&)’:
BART/bd.h:294:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
294 | for(size_t i=0;i!=bnv.size();i++)
| ^~~
BART/bd.h:296:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
296 | if(goodbots.size()==0) { //are there any bottom nodes you can split on?
| ^~
In file included from bart_model.h:44:
BART/bart.h: In member function ‘void bart::makexinfo_bart(size_t, size_t, double*, xinfo&, int*)’:
BART/bart.h:101:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
101 | for(size_t j=0;j<nc[i];j++) xi[i][j] = minx[i] + (j+1)*xinc;
| ~^~~~~~
bart_model.h: In constructor ‘bart_model::bart_model(Rcpp::NumericMatrix, Rcpp::NumericVector, long int, bool, bool, bool, int, Rcpp::Nullable<double>, double, double, double, double)’:
bart_model.h:150:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
150 | for(size_t i=0;i<p;i++) {
| ~^~
bart_model.h: In member function ‘Rcpp::List bart_model::update(long int, long int, int, bool, long int)’:
bart_model.h:313:21: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
313 | for(size_t k=0;k<n;k++) {restemp=(iy[k]-bm.f(k)); rss += restemp*restemp;}
| ~^~
bart_model.h:318:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
318 | for(size_t k=0;k<n;k++) trmean[k]+=bm.f(k);
| ~^~
bart_model.h:325:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
325 | for(size_t j=0;j<ntrees;j++) {
| ~^~~~~~~
bart_model.h:332:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
332 | for(size_t j=0;j<p;j++){
| ~^~
bart_model.h:350:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
350 | for(size_t k=0;k<n;k++) trmean[k]/=npost;
| ~^~
bart_model.h: In member function ‘Rcpp::List bart_model::update(double, long int, long int, int, bool, long int)’:
bart_model.h:424:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
424 | for(size_t k=0;k<n;k++) trmean[k]+=bm.f(k);
| ~^~
bart_model.h:428:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
428 | for(size_t k=0;k<n;k++) TRDRAW(trcnt,k)=bm.f(k);
| ~^~
bart_model.h:430:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
430 | for(size_t j=0;j<ntrees;j++) {
| ~^~~~~~~
bart_model.h:437:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
437 | for(size_t j=0;j<p;j++){
| ~^~
bart_model.h:455:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
455 | for(size_t k=0;k<n;k++) trmean[k]/=npost;
| ~^~
bart_model.h: In member function ‘Rcpp::List bart_model::update(double, Rcpp::NumericVector, long int, long int, int, bool, long int)’:
bart_model.h:496:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
496 | for(size_t i=0;i<n;i++) svec[i]=w[i]*sigma;
| ~^~
bart_model.h:533:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
533 | for(size_t k=0;k<n;k++) trmean[k]+=bm.f(k);
| ~^~
bart_model.h:537:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
537 | for(size_t k=0;k<n;k++) TRDRAW(trcnt,k)=bm.f(k);
| ~^~
bart_model.h:539:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
539 | for(size_t j=0;j<ntrees;j++) {
| ~^~~~~~~
bart_model.h:546:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
546 | for(size_t j=0;j<p;j++){
| ~^~
bart_model.h:564:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
564 | for(size_t k=0;k<n;k++) trmean[k]/=npost;
| ~^~
MCMC_PSPI.cpp: In function ‘Rcpp::List MCMC_PSPI_generalizability(Rcpp::NumericMatrix, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericMatrix, Rcpp::NumericVector, int, long int, long int, long int, long int, long int, long int, int, bool)’:
MCMC_PSPI.cpp:66:8: warning: unused variable ‘n’ [-Wunused-variable]
66 | long n = X_test_.nrow();
| ^
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/data/gannet/ripley/R/R-devel/include -I../inst/include/ -I/data/gannet/ripley/R/R-devel/include/Rcpp -I/data/gannet/ripley/R/R-devel/include/RcppArmadillo -I/data/gannet/ripley/R/R-devel/include/RcppDist -I/data/gannet/ripley/R/R-devel/include/RcppProgress -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppDist/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/pg/include' -I/usr/local/include -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
MCMC_PSPI.cpp:85:19: warning: ‘cmodel’ may be used uninitialized [-Wmaybe-uninitialized]
85 | cmodel->update(verbose);
| ~~~~~~~~~~~~~~^~~~~~~~~
MCMC_PSPI.cpp:32:17: note: ‘cmodel’ was declared here
32 | BARTforPSPI * cmodel;
| ^~~~~~
g++ -std=gnu++17 -shared -L/usr/local/lib64 -o PSPI.so MCMC_PSPI.o RcppExports.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath -L/data/gannet/ripley/R/R-devel/lib
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/PSPI/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/PSPI/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/PSPI/src'
installing to /data/gannet/ripley/R/packages/tests-devel/PSPI.Rcheck/00LOCK-PSPI/00new/PSPI/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 (PSPI)