* using log directory 'd:/Rcompile/CRANpkg/local/4.6/PSPI.Rcheck' * using R version 4.6.0 beta (2026-04-16 r89899 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-17 03:22:17 UTC * checking for file 'PSPI/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'PSPI' version '1.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'PSPI' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/PSPI.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'PSPI' ... ** this is package 'PSPI' version '1.2' ** 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_04_17_01_50_00_1722/RtmpiCqRmi/R.INSTALL167b835e24ecc/PSPI/src' g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -ID:/RCompile/recent/R/include -I../inst/include/ -ID:/RCompile/recent/R/include/Rcpp -ID:/RCompile/recent/R/include/RcppArmadillo -ID:/RCompile/recent/R/include/RcppDist -ID:/RCompile/recent/R/include/RcppProgress -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppDist/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.6/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 D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:35, from MCMC_PSPI.cpp:3: D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h: In constructor 'Rcpp::Function_Impl::Function_Impl(const std::string&, const std::string&)': D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h:75:65: error: 'R_NamespaceRegistry' was not declared in this scope 75 | Shield env(R_getVarEx(Rf_install(ns.c_str()), R_NamespaceRegistry, FALSE, R_UnboundValue)); | ^~~~~~~~~~~~~~~~~~~ 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 long unsigned int'} and 'int' [-Wsign-compare] 101 | for(size_t j=0;j, double, double, double, double)': bart_model.h:150:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long int' [-Wsign-compare] 150 | for(size_t i=0;i