* installing *source* package 'ridgeBART' ...
** this is package 'ridgeBART' version '1.0.2'
** package 'ridgeBART' 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_05_28_01_50_00_2606/RtmpENsGF5/R.INSTALL6f5a81c567b1a/ridgeBART/src'
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c data_parsing_funs.cpp -o data_parsing_funs.o
In file included from data_parsing_funs.h:4,
from data_parsing_funs.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c draw_tree.cpp -o draw_tree.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from rule_funs.h:4,
from draw_tree.h:4,
from draw_tree.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c eval_bases.cpp -o eval_bases.o
In file included from eval_bases.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c get_bases.cpp -o get_bases.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from rule_funs.h:4,
from update_tree.h:4,
from get_bases.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c graph_funs.cpp -o graph_funs.o
In file included from graph_funs.h:6,
from graph_funs.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
graph_funs.cpp: In function 'void hotspot(std::set<int>&, std::set<int>&, std::vector<edge>&, std::set<int>&, RNG&, bool)':
graph_funs.cpp:545:24: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
545 | for(int ix = 0; ix < l_index.size(); ++ix){
| ~~~^~~~~~~~~~~~~~~~
graph_funs.cpp: In function 'void delete_unif_edge(std::set<int>&, std::set<int>&, std::vector<edge>&, std::set<int>&, RNG&)':
graph_funs.cpp:566:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
566 | for(int e = 0; e < edges.size(); e++){
| ~~^~~~~~~~~~~~~~
graph_funs.cpp: In function 'void signcheck_split(std::set<int>&, std::set<int>&, std::vector<edge>&, std::set<int>&)':
graph_funs.cpp:618:24: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
618 | for(int ix = 0; ix < lval_index.size(); ++ix){
| ~~~^~~~~~~~~~~~~~~~~~~
graph_funs.cpp: In function 'void graph_partition(std::set<int>&, std::set<int>&, std::vector<edge>&, std::set<int>&, int&, RNG&)':
graph_funs.cpp:658:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int, std::allocator<int> > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
658 | for(int comp_ix = 0; comp_ix < components.size(); comp_ix++){
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~
graph_funs.cpp: In function 'void update_theta_u(std::vector<double>&, double&, std::vector<int, std::allocator<int> >&, int&, double&, double&, RNG&)':
graph_funs.cpp:703:19: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
703 | if(theta.size() != p){
| ~~~~~~~~~~~~~^~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c polytope_funs.cpp -o polytope_funs.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from polytope_funs.h:11,
from polytope_funs.cpp:8:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
polytope_funs.cpp: In function 'void lin_ess(std::vector<double>&, std::vector<std::map<int, double> >&, std::vector<double>&, std::vector<double>&, int&, RNG&)':
polytope_funs.cpp:152:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
152 | while(len_to_go > 0 && c_xi < active_intervals.size()){
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
polytope_funs.cpp: In function 'void calc_gradient(std::vector<std::map<int, double> >&, std::vector<double>&, std::vector<double>&, int&, std::vector<double>&, arma::vec&)':
polytope_funs.cpp:180:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::map<int, double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
180 | for(int i = 0; i < phi_vec.size(); ++i){
| ~~^~~~~~~~~~~~~~~~
polytope_funs.cpp: In function 'void calc_hessian(std::vector<std::map<int, double> >&, std::vector<double>&, std::vector<double>&, int&, std::vector<double>&, arma::mat&)':
polytope_funs.cpp:221:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::map<int, double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
221 | for(int i = 0; i < phi_vec.size(); ++i){
| ~~^~~~~~~~~~~~~~~~
polytope_funs.cpp: In function 'void inf_analytic_center(arma::vec&, arma::mat&, arma::vec&)':
polytope_funs.cpp:535:18: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
535 | if (A.n_rows != n) Rcpp::Rcout << "A has " << A.n_rows << " rows but b has " << n << " elements!" << std::endl;
| ~~~~~~~~~^~~~
polytope_funs.cpp:536:18: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
536 | if (A.n_cols != d) Rcpp::Rcout << "A has " << A.n_cols << " cols but x has " << d << " elements!" << std::endl;
| ~~~~~~~~~^~~~
polytope_funs.cpp: In function 'void lin_ess(std::vector<double>&, std::vector<std::map<int, double> >&, std::vector<double>&, std::vector<double>&, int&, RNG&)':
polytope_funs.cpp:147:10: warning: 'rand_theta' may be used uninitialized [-Wmaybe-uninitialized]
147 | double rand_theta;
| ^~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c predict_ridgeBART.cpp -o predict_ridgeBART.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from rule_funs.h:4,
from update_tree.h:4,
from predict_ridgeBART.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c probit_ridgeBART_fit.cpp -o probit_ridgeBART_fit.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from rule_funs.h:4,
from update_tree.h:4,
from probit_ridgeBART_fit.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
probit_ridgeBART_fit.cpp: In function 'Rcpp::List probit_ridgeBART_fit(Rcpp::NumericVector, Rcpp::NumericMatrix, Rcpp::IntegerMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::IntegerMatrix, Rcpp::NumericMatrix, Rcpp::LogicalVector, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::LogicalVector, int, bool, double, int, bool, double, double, double, Rcpp::NumericVector, double, double, double, int, int, int, int, int, Rcpp::NumericVector, double, double, double, int, int, int, int, bool, bool, bool, int)':
probit_ridgeBART_fit.cpp:229:27: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
229 | for (int i = 0; i < tmp_mu.size(); ++i){
| ~~^~~~~~~~~~~~~~~
probit_ridgeBART_fit.cpp:333:29: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
333 | for (int i = 0; i < tmp_mu.size(); ++i){
| ~~^~~~~~~~~~~~~~~
probit_ridgeBART_fit.cpp:356:29: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
356 | for (int i = 0; i < tmp_mu.size(); ++i){
| ~~^~~~~~~~~~~~~~~
probit_ridgeBART_fit.cpp:366:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arma::Col<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
366 | for (int i = 0; i < rho_diag.accepted.size(); i++) add_rho(sampled_rhos, rho_diag.accepted[i], leaf_count, di_train);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
probit_ridgeBART_fit.cpp:367:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arma::Col<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
367 | for (int i = 0; i < rho_diag.pruned.size(); i++) remove_rho(sampled_rhos, rho_diag.pruned[i], leaf_count, di_train);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
probit_ridgeBART_fit.cpp:425:33: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
425 | for (int i = 0; i < tmp_mu.size(); ++i) allfit_test[ss_it->second[i]] += tmp_mu(i);
| ~~^~~~~~~~~~~~~~~
probit_ridgeBART_fit.cpp:449:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::map<double, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
449 | for (int i = 0; i < sampled_rhos.size(); ++i){
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rand_basis_funs.cpp -o rand_basis_funs.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from polytope_funs.h:11,
from rand_basis_funs.h:4,
from rand_basis_funs.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
rand_basis_funs.cpp: In function 'void fit_ensemble(std::vector<double>&, std::vector<tree>&, data_info&)':
rand_basis_funs.cpp:122:17: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
122 | if(fit.size() != di.n) Rcpp::stop("[fit_ensemble]: size of fit must be equal to di.n!"); // honestly should never get triggered
| ~~~~~~~~~~~^~~~~~~
rand_basis_funs.cpp:133:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<tree>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
133 | for(int m = 0; m < t_vec.size(); m++) {
| ~~^~~~~~~~~~~~~~
rand_basis_funs.cpp: In function 'void remove_rho(std::vector<std::map<double, int> >&, arma::vec&, int&, data_info&)':
rand_basis_funs.cpp:192:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::map<double, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
192 | for (int i = 0; i < sampled_rhos.size(); ++i){
| ~~^~~~~~~~~~~~~~~~~~~~~
rand_basis_funs.cpp: In function 'arma::vec draw_rho(std::vector<std::map<double, int> >&, int&, data_info&, tree_prior_info&, RNG&)':
rand_basis_funs.cpp:237:16: warning: 'output' may be used uninitialized [-Wmaybe-uninitialized]
237 | rho[i] = output;
rand_basis_funs.cpp:211:12: note: 'output' was declared here
211 | double output;
| ^~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ridgeBART_fit.cpp -o ridgeBART_fit.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from rule_funs.h:4,
from update_tree.h:4,
from ridgeBART_fit.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
ridgeBART_fit.cpp: In function 'Rcpp::List ridgeBART_fit(Rcpp::NumericVector, Rcpp::NumericMatrix, Rcpp::IntegerMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::IntegerMatrix, Rcpp::NumericMatrix, Rcpp::LogicalVector, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::LogicalVector, int, bool, double, int, bool, double, double, double, Rcpp::NumericVector, double, double, double, double, double, double, int, int, int, int, int, Rcpp::NumericVector, double, double, double, int, int, int, int, bool, bool, bool, int)':
ridgeBART_fit.cpp:235:27: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
235 | for (int i = 0; i < tmp_mu.size(); ++i){
| ~~^~~~~~~~~~~~~~~
ridgeBART_fit.cpp:318:29: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
318 | for (int i = 0; i < tmp_mu.size(); ++i){
| ~~^~~~~~~~~~~~~~~
ridgeBART_fit.cpp:341:29: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
341 | for (int i = 0; i < tmp_mu.size(); ++i){
| ~~^~~~~~~~~~~~~~~
ridgeBART_fit.cpp:356:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arma::Col<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
356 | for (int i = 0; i < rho_diag.accepted.size(); i++) add_rho(sampled_rhos, rho_diag.accepted[i], leaf_count, di_train);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
ridgeBART_fit.cpp:357:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arma::Col<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
357 | for (int i = 0; i < rho_diag.pruned.size(); i++) remove_rho(sampled_rhos, rho_diag.pruned[i], leaf_count, di_train);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
ridgeBART_fit.cpp:419:33: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
419 | for (int i = 0; i < tmp_mu.size(); ++i) allfit_test[ss_it->second[i]] += tmp_mu(i);
| ~~^~~~~~~~~~~~~~~
ridgeBART_fit.cpp:443:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::map<double, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
443 | for (int i = 0; i < sampled_rhos.size(); ++i){
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rng.cpp -o rng.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from rng.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
rng.cpp: In member function 'arma::vec RNG::mvnormal(arma::vec, arma::mat)':
rng.cpp:171:17: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
171 | if( (P.n_rows != d) | (P.n_cols != d)){
| ~~~~~~~~~^~~~
rng.cpp:171:35: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
171 | if( (P.n_rows != d) | (P.n_cols != d)){
| ~~~~~~~~~^~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rridgeBART.cpp -o rridgeBART.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from rule_funs.h:4,
from draw_tree.h:4,
from rridgeBART.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
rridgeBART.cpp: In function 'Rcpp::List drawTree(Rcpp::NumericMatrix, Rcpp::IntegerMatrix, Rcpp::NumericMatrix, Rcpp::LogicalVector, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::LogicalVector, int, bool, double, int, bool, double, double, Rcpp::NumericVector, double, double, double, int, int, int, int, Rcpp::NumericVector, double, double, double, int, bool, int)':
rridgeBART.cpp:142:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
142 | for (int i = 0; i < tmp_mu.size(); ++i){
| ~~^~~~~~~~~~~~~~~
rridgeBART.cpp: In function 'Rcpp::List drawEnsemble(Rcpp::NumericMatrix, Rcpp::IntegerMatrix, Rcpp::NumericMatrix, Rcpp::LogicalVector, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::Nullable<Rcpp::Vector<19> >, Rcpp::LogicalVector, int, bool, double, int, bool, double, double, Rcpp::NumericVector, double, double, double, int, int, int, int, Rcpp::NumericVector, double, double, double, int, bool, int)':
rridgeBART.cpp:353:25: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
353 | for (int i = 0; i < tmp_mu.size(); ++i){
| ~~^~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rule_funs.cpp -o rule_funs.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from rule_funs.h:4,
from rule_funs.cpp:2:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c save_trees.cpp -o save_trees.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from polytope_funs.h:11,
from rand_basis_funs.h:4,
from save_trees.h:4,
from save_trees.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
save_trees.cpp: In function 'Rcpp::List parse_fit_logs(std::vector<std::__cxx11::basic_string<char> >&, std::vector<std::map<int, double> >&, std::vector<arma::Mat<double> >&, std::vector<arma::Col<double> >&, std::vector<std::map<int, arma::Col<double> > >&, tree_prior_info&, data_info&)':
save_trees.cpp:158:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
158 | for (int i = 0; i < change_log.size(); ++i) change_list[i] = change_log[i];
| ~~^~~~~~~~~~~~~~~~~~~
save_trees.cpp:161:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::map<int, double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
161 | for (int i = 0; i < phi_log.size(); ++i){
| ~~^~~~~~~~~~~~~~~~
save_trees.cpp:173:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arma::Mat<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
173 | for (int i = 0; i < w_log.size(); ++i) w_list[i] = w_log[i];
| ~~^~~~~~~~~~~~~~
save_trees.cpp:176:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arma::Col<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
176 | for (int i = 0; i < b_log.size(); ++i) b_list[i] = b_log[i];
| ~~^~~~~~~~~~~~~~
save_trees.cpp:179:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::map<int, arma::Col<double> > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
179 | for (int i = 0; i < beta_log.size(); ++i){
| ~~^~~~~~~~~~~~~~~~~
save_trees.cpp: In function 'void read_fit_logs(tree&, int&, int&, std::vector<std::__cxx11::basic_string<char> >&, std::vector<std::map<int, double> >&, std::vector<arma::Mat<double> >&, std::vector<arma::Col<double> >&, std::vector<std::map<int, arma::Col<double> > >&, int&, int&, set_str_conversion&)':
save_trees.cpp:254:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
254 | if (last_log_index == change_log.size()){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tree.cpp -o tree.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from tree.cpp:4:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c update_tree.cpp -o update_tree.o
In file included from data_parsing_funs.h:4,
from rng.h:3,
from tree.h:5,
from rule_funs.h:4,
from update_tree.h:4,
from update_tree.cpp:1:
structs.h: In member function 'std::set<int> set_str_conversion::hex_to_set(int&, std::string&)':
structs.h:399:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
399 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
update_tree.cpp: In function 'void change_tree(tree&, suff_stat&, rho_diag_t&, std::vector<std::map<double, int> >&, int&, int&, double&, data_info&, tree_prior_info&, RNG&)':
update_tree.cpp:560:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
560 | for (int i = 0; i < bn_nid_vec.size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~
update_tree.cpp:569:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
569 | for (int i = 0; i < bn_nid_vec.size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~
update_tree.cpp:594:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
594 | for (int i = 0; i < bn_nid_vec.size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~
update_tree.cpp:604:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
604 | for (int i = 0; i < bn_nid_vec.size(); i++) t.get_ptr(bn_nid_vec[i])->set_leaf(leaf_vec[i]);
| ~~^~~~~~~~~~~~~~~~~~~
update_tree.cpp: In function 'void compute_suff_stat_grow(suff_stat&, suff_stat&, int&, rule_t&, tree&, data_info&)':
update_tree.cpp:67:131: warning: 'xx_cont' may be used uninitialized [-Wmaybe-uninitialized]
67 | for(rc_it phi_it = rule.phi.begin(); phi_it != rule.phi.end(); ++phi_it) tmp_x += (phi_it->second) * xx_cont[phi_it->first];
| ^
update_tree.cpp:5:11: note: 'xx_cont' was declared here
5 | double* xx_cont;
| ^~~~~~~
update_tree.cpp:48:54: warning: 'xx_cat' may be used uninitialized [-Wmaybe-uninitialized]
48 | l_count = rule.l_vals.count(xx_cat[rule.v_cat]);
| ^
update_tree.cpp:6:8: note: 'xx_cat' was declared here
6 | int* xx_cat;
| ^~~~~~
g++ -std=gnu++20 -shared -s -static-libgcc -o ridgeBART.dll tmp.def RcppExports.o data_parsing_funs.o draw_tree.o eval_bases.o get_bases.o graph_funs.o polytope_funs.o predict_ridgeBART.o probit_ridgeBART_fit.o rand_basis_funs.o ridgeBART_fit.o rng.o rridgeBART.o rule_funs.o save_trees.o tree.o update_tree.o -fopenmp -LD:/RCompile/recent/R-4.6.0/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.6.0/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.6.0/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_05_28_01_50_00_2606/RtmpENsGF5/R.INSTALL6f5a81c567b1a/ridgeBART/src'
make[1]: Entering directory '/d/temp/2026_05_28_01_50_00_2606/RtmpENsGF5/R.INSTALL6f5a81c567b1a/ridgeBART/src'
make[1]: Leaving directory '/d/temp/2026_05_28_01_50_00_2606/RtmpENsGF5/R.INSTALL6f5a81c567b1a/ridgeBART/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-ridgeBART/00new/ridgeBART/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 'ridgeBART' as ridgeBART_1.0.2.zip
* DONE (ridgeBART)