* installing *source* package 'SoftBart' ...
** package 'SoftBart' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2025_10_21_12_46_10_10564/Rtmp0knHa9/R.INSTALLea2c3695f12/SoftBart/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
In file included from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo.h:32,
from RcppExports.cpp:4:
D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c soft_bart.cpp -o soft_bart.o
In file included from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo.h:32,
from soft_bart.h:4,
from soft_bart.cpp:1:
D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
In file included from soft_bart.h:5:
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 long unsigned int'} [-Wsign-compare]
1783 | if(r_iter > saved_forests.size())
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o SoftBart.dll tmp.def RcppExports.o soft_bart.o -LD:/RCompile/recent/R-4.4.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_21_12_46_10_10564/Rtmp0knHa9/R.INSTALLea2c3695f12/SoftBart/src'
make[1]: Entering directory '/d/temp/2025_10_21_12_46_10_10564/Rtmp0knHa9/R.INSTALLea2c3695f12/SoftBart/src'
make[1]: Leaving directory '/d/temp/2025_10_21_12_46_10_10564/Rtmp0knHa9/R.INSTALLea2c3695f12/SoftBart/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-SoftBart/00new/SoftBart/libs/x64
** 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
** 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 'SoftBart' as SoftBart_1.0.2.zip
* DONE (SoftBart)