* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘SoftBart’ ...
** package ‘SoftBart’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp8a2Uih/R.INSTALL34e8247ab61fb/SoftBart/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/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/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/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c soft_bart.cpp -o soft_bart.o
In file included from soft_bart.h:5,
                 from soft_bart.cpp:1:
functions.h: In function ‘arma::vec rmvnorm(const arma::vec&, const arma::mat&)’:
functions.h:46:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   46 |   for(int i = 0; i < mean.size(); i++) {
      |                  ~~^~~~~~~~~~~~~
soft_bart.cpp: In destructor ‘Forest::~Forest()’:
soft_bart.cpp:21:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   21 |   for(int i = 0; i < trees.size(); i++) {
      |                  ~~^~~~~~~~~~~~~~
soft_bart.cpp: In function ‘Hypers InitHypers(const arma::mat&, const arma::uvec&, double, double, double, double, double, double, double, int, double, double, double, double, double, double)’:
soft_bart.cpp:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  103 |   for(int i = 0; i < out.s.size(); i++) {
      |                  ~~^~~~~~~~~~~~~~
soft_bart.cpp: In function ‘void GetSuffStats(Node*, const arma::vec&, const arma::vec&, const arma::mat&, const Hypers&, arma::vec&, arma::mat&)’:
soft_bart.cpp:251:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  251 |   for(int i = 0; i < X.n_rows; i++) {
      |                  ~~^~~~~~~~~~
soft_bart.cpp: In function ‘std::vector<double> get_perturb_limits(Node*)’:
soft_bart.cpp:859:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  859 |   for(int i = 0; i < left_branches.size(); i++) {
      |                  ~~^~~~~~~~~~~~~~~~~~~~~~
soft_bart.cpp:865:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  865 |   for(int i = 0; i < right_branches.size(); i++) {
      |                  ~~^~~~~~~~~~~~~~~~~~~~~~~
soft_bart.cpp: In function ‘void UpdateS(std::vector<Node*>&, Hypers&)’:
soft_bart.cpp:1044:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
 1044 |   for(int i = 0; i < shape_up.size(); i++) {
      |                  ~~^~~~~~~~~~~~~~~~~
soft_bart.cpp: In function ‘arma::vec rdirichlet(const arma::vec&)’:
soft_bart.cpp:1082:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
 1082 |   for(int i = 0; i < shape.size(); i++) {
      |                  ~~^~~~~~~~~~~~~~
soft_bart.cpp: In member function ‘void Hypers::UpdateAlpha()’:
soft_bart.cpp:1113:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
 1113 |   for(int i = 0; i < rho_propose.size(); i++) {
      |                  ~~^~~~~~~~~~~~~~~~~~~~
soft_bart.cpp: In function ‘double forest_loglik(std::vector<Node*>&, double, double)’:
soft_bart.cpp:1170:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1170 |   for(int t = 0; t < forest.size(); t++) {
      |                  ~~^~~~~~~~~~~~~~~
soft_bart.cpp: In function ‘std::vector<Node*> copy_forest(std::vector<Node*>, Hypers&)’:
soft_bart.cpp:1251:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1251 |   for(int i = 0; i < forest.size(); i++) {
      |                  ~~^~~~~~~~~~~~~~~
soft_bart.cpp: In function ‘arma::vec loglik_data(const arma::vec&, const arma::vec&, const arma::vec&, const Hypers&)’:
soft_bart.cpp:1261:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
 1261 |   for(int i = 0; i < Y.size(); i++) {
      |                  ~~^~~~~~~~~~
soft_bart.cpp: In constructor ‘Hypers::Hypers(Rcpp::List)’:
soft_bart.cpp:1387:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
 1387 |   for(int i = 0; i < s.size(); i++) {
      |                  ~~^~~~~~~~~~
soft_bart.cpp: In function ‘std::vector<Node*> AddTree(std::vector<Node*>&, const Hypers&, const Opts&)’:
soft_bart.cpp:1503:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1503 |   for(int i = 0; i < leafs.size(); i++) {
      |                  ~~^~~~~~~~~~~~~~
soft_bart.cpp: In function ‘void RenormAddTree(std::vector<Node*>&, std::vector<Node*>&, Hypers&)’:
soft_bart.cpp:1643:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1643 |     for(int i = 0; i < new_forest.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~
soft_bart.cpp:1645:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1645 |       for(int j = 0; j < leafs.size(); j++) {
      |                      ~~^~~~~~~~~~~~~~
soft_bart.cpp: In function ‘void UnnormAddTree(std::vector<Node*>&, std::vector<Node*>&, Hypers&)’:
soft_bart.cpp:1671:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1671 |     for(int i = 0; i < new_forest.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~
soft_bart.cpp:1673:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1673 |       for(int j = 0; j < leafs.size(); j++) {
      |                      ~~^~~~~~~~~~~~~~
soft_bart.cpp: In function ‘void RenormDeleteTree(std::vector<Node*>&, std::vector<Node*>&, Hypers&)’:
soft_bart.cpp:1703:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1703 |     for(int i = 0; i < new_forest.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~
soft_bart.cpp:1706:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1706 |       for(int j = 0; j < leafs.size(); j++) {
      |                      ~~^~~~~~~~~~~~~~
soft_bart.cpp: In function ‘void UnnormDeleteTree(std::vector<Node*>&, std::vector<Node*>&, Hypers&)’:
soft_bart.cpp:1732:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1732 |     for(int i = 0; i < new_forest.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~
soft_bart.cpp:1734:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1734 |       for(int j = 0; j < leafs.size(); j++) {
      |                      ~~^~~~~~~~~~~~~~
soft_bart.cpp: In member function ‘arma::vec Forest::predict_iteration(const arma::mat&, int)’:
soft_bart.cpp:1783:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<Node*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1783 |   if(r_iter > saved_forests.size())
      |      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o SoftBart.so RcppExports.o soft_bart.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 -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp8a2Uih/R.INSTALL34e8247ab61fb/SoftBart/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp8a2Uih/R.INSTALL34e8247ab61fb/SoftBart/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp8a2Uih/R.INSTALL34e8247ab61fb/SoftBart/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-SoftBart/00new/SoftBart/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 (SoftBart)