* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘SBMTrees’ ...
** this is package ‘SBMTrees’ version ‘1.4’
** package ‘SBMTrees’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmph7vsqD/R.INSTALL1ba48329766338/SBMTrees/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/include -I../inst/include/ -I/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/Rcpp -I/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/RcppArmadillo -I/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/RcppDist -I/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/RcppProgress -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'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/pg/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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/home/hornik/tmp/R.check/r-release-gcc/Work/build/include -I../inst/include/ -I/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/Rcpp -I/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/RcppArmadillo -I/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/RcppDist -I/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/RcppProgress -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'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/pg/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c sequential_imputation.cpp -o sequential_imputation.o
In file included from bart_model.h:42,
from bmtrees.h:44,
from sequential_imputation.cpp:23:
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:151:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
151 | 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:314:21: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
314 | for(size_t k=0;k<n;k++) {restemp=(iy[k]-bm.f(k)); rss += restemp*restemp;}
| ~^~
bart_model.h:319:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘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:326:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
326 | for(size_t j=0;j<ntrees;j++) {
| ~^~~~~~~
bart_model.h:333:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
333 | for(size_t j=0;j<p;j++){
| ~^~
bart_model.h:351:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
351 | 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:425:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
425 | for(size_t k=0;k<n;k++) trmean[k]+=bm.f(k);
| ~^~
bart_model.h:429:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
429 | for(size_t k=0;k<n;k++) TRDRAW(trcnt,k)=bm.f(k);
| ~^~
bart_model.h:431:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
431 | for(size_t j=0;j<ntrees;j++) {
| ~^~~~~~~
bart_model.h:438:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
438 | for(size_t j=0;j<p;j++){
| ~^~
bart_model.h:456:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
456 | 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:497:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
497 | for(size_t i=0;i<n;i++) svec[i]=w[i]*sigma;
| ~^~
bart_model.h:534:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
534 | for(size_t k=0;k<n;k++) trmean[k]+=bm.f(k);
| ~^~
bart_model.h:538:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
538 | for(size_t k=0;k<n;k++) TRDRAW(trcnt,k)=bm.f(k);
| ~^~
bart_model.h:540:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
540 | for(size_t j=0;j<ntrees;j++) {
| ~^~~~~~~
bart_model.h:547:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
547 | for(size_t j=0;j<p;j++){
| ~^~
bart_model.h:565:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
565 | for(size_t k=0;k<n;k++) trmean[k]/=npost;
| ~^~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o SBMTrees.so RcppExports.o sequential_imputation.o -llapack -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmph7vsqD/R.INSTALL1ba48329766338/SBMTrees/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmph7vsqD/R.INSTALL1ba48329766338/SBMTrees/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmph7vsqD/R.INSTALL1ba48329766338/SBMTrees/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-SBMTrees/00new/SBMTrees/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 (SBMTrees)