* installing *source* package 'PSPI' ...
** this is package 'PSPI' version '1.4'
** package 'PSPI' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_10_02_20_03_24_4589/RtmpOmjOZy/R.INSTALL10824200d133d/PSPI/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -ID:/RCompile/recent/R-4.5.3/include -I../inst/include/ -ID:/RCompile/recent/R-4.5.3/include/Rcpp -ID:/RCompile/recent/R-4.5.3/include/RcppArmadillo -ID:/RCompile/recent/R-4.5.3/include/RcppDist -ID:/RCompile/recent/R-4.5.3/include/RcppProgress -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.5/pg/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -O3 -Wall     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c MCMC_PSPI.cpp -o MCMC_PSPI.o
In file included from bart_model.h:17,
                 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:18:
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:19:
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 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, bool, bool, long int, bool, bool, bool, int, Rcpp::Nullable<double>, double, double, double, double)':
bart_model.h:144:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  144 |       for(size_t i=0;i<p;i++) {
      |                      ~^~
bart_model.h: In member function 'Rcpp::List bart_model::update(double, long int, long int, int, bool, long int)':
bart_model.h:312:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  312 |     for(size_t k=0; k<n; k++) {
      |                     ~^~
bart_model.h:319:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  319 |       for(size_t k=0; k<n; k++) trmean[k] += bm.f(k);
      |                       ~^~
bart_model.h:325:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  325 |         for(size_t j=0; j<ntrees; j++) {
      |                         ~^~~~~~~
bart_model.h:333:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  333 |         for(size_t j=0; j<p; j++){
      |                         ~^~
bart_model.h:347:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  347 |   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:389:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  389 |   for(size_t i=0; i<n; i++) svec[i] = w[i] * sigma;
      |                   ~^~
bart_model.h:419:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  419 |       for(size_t k=0; k<n; k++) trmean[k] += bm.f(k);
      |                       ~^~
bart_model.h:425:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  425 |         for(size_t j=0; j<ntrees; j++) {
      |                         ~^~~~~~~
bart_model.h:433:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  433 |         for(size_t j=0; j<p; j++){
      |                         ~^~
bart_model.h:448:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare]
  448 |   for(size_t k=0; k<n; k++) trmean[k] /= npost;
      |                   ~^~
BARTforPSPI.h: In member function 'Rcpp::List BARTforPSPI::get_var_split()':
BARTforPSPI.h:200:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bart_model*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  200 |     for(int j = 0 ; j < bart.size(); ++j){
      |                     ~~^~~~~~~~~~~~~
MCMC_PSPI.cpp: In function 'Rcpp::List MCMC_PSPI_generalizability(Rcpp::NumericMatrix, Rcpp::NumericVector, bool, Rcpp::IntegerVector, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, int, long int, long int, Rcpp::IntegerVector, Rcpp::IntegerVector, int, bool, bool, bool)':
MCMC_PSPI.cpp:69:8: warning: unused variable 'n' [-Wunused-variable]
   69 |   long n = X_test_.nrow();
      |        ^
MCMC_PSPI.cpp:117:45: warning: 'cmodel' may be used uninitialized [-Wmaybe-uninitialized]
  117 |     if(i==(nburn/2)&&dart) cmodel->startdart();
      |                            ~~~~~~~~~~~~~~~~~^~
MCMC_PSPI.cpp:39:17: note: 'cmodel' was declared here
   39 |   BARTforPSPI * cmodel;
      |                 ^~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -ID:/RCompile/recent/R-4.5.3/include -I../inst/include/ -ID:/RCompile/recent/R-4.5.3/include/Rcpp -ID:/RCompile/recent/R-4.5.3/include/RcppArmadillo -ID:/RCompile/recent/R-4.5.3/include/RcppDist -ID:/RCompile/recent/R-4.5.3/include/RcppProgress -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.5/pg/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -O3 -Wall     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17 -shared -s -static-libgcc -o PSPI.dll tmp.def MCMC_PSPI.o RcppExports.o -LD:/RCompile/recent/R-4.5.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.5.3/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.5.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_10_02_20_03_24_4589/RtmpOmjOZy/R.INSTALL10824200d133d/PSPI/src'
make[1]: Entering directory '/d/temp/2026_10_02_20_03_24_4589/RtmpOmjOZy/R.INSTALL10824200d133d/PSPI/src'
make[1]: Leaving directory '/d/temp/2026_10_02_20_03_24_4589/RtmpOmjOZy/R.INSTALL10824200d133d/PSPI/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-PSPI/00new/PSPI/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 'PSPI' as PSPI_1.4.zip
* DONE (PSPI)