* 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++ (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ridgeBART/src' g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c data_parsing_funs.cpp -o data_parsing_funs.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c draw_tree.cpp -o draw_tree.o In file included from data_parsing_funs.h:4, from data_parsing_funs.cpp:1: structs.h: In member function ‘std::set 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::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 399 | if(hex_str.size() != num_blocks+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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 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::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 399 | if(hex_str.size() != num_blocks+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c eval_bases.cpp -o eval_bases.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c get_bases.cpp -o get_bases.o In file included from eval_bases.cpp:1: structs.h: In member function ‘std::set 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::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 399 | if(hex_str.size() != num_blocks+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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 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::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 399 | if(hex_str.size() != num_blocks+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c graph_funs.cpp -o graph_funs.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c polytope_funs.cpp -o polytope_funs.o In file included from graph_funs.h:6, from graph_funs.cpp:1: structs.h: In member function ‘std::set 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::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 399 | if(hex_str.size() != num_blocks+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ graph_funs.cpp: In function ‘void hotspot(std::set&, std::set&, std::vector&, std::set&, 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&, std::set&, std::vector&, std::set&, RNG&)’: graph_funs.cpp:566:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 566 | for(int e = 0; e < edges.size(); e++){ | ~~^~~~~~~~~~~~~~ graph_funs.cpp: In function ‘void signcheck_split(std::set&, std::set&, std::vector&, std::set&)’: 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&, std::set&, std::vector&, std::set&, int&, RNG&)’: graph_funs.cpp:658:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector > >::size_type’ {aka ‘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&, std::vector >&, int&, double&, double&, RNG&)’: graph_funs.cpp:703:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 703 | if(theta.size() != p){ | ~~~~~~~~~~~~~^~~~ g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -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 polytope_funs.h:11, from polytope_funs.cpp:8: structs.h: In member function ‘std::set 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::size_type’ {aka ‘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&, std::vector >&, std::vector&, std::vector&, int&, RNG&)’: polytope_funs.cpp:152:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘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::vector&, std::vector&, int&, std::vector&, arma::vec&)’: polytope_funs.cpp:180:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘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::vector&, std::vector&, int&, std::vector&, arma::mat&)’: polytope_funs.cpp:221:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘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; | ~~~~~~~~~^~~~ 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 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::size_type’ {aka ‘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&, std::vector >&, std::vector&, std::vector&, 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"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c probit_ridgeBART_fit.cpp -o probit_ridgeBART_fit.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c rand_basis_funs.cpp -o rand_basis_funs.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -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 probit_ridgeBART_fit.cpp:1: structs.h: In member function ‘std::set 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::size_type’ {aka ‘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::Nullable >, Rcpp::Nullable >, 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){ | ~~^~~~~~~~~~~~~~~ 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 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::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 399 | if(hex_str.size() != num_blocks+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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 >::size_type’ {aka ‘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 >::size_type’ {aka ‘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 >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 449 | for (int i = 0; i < sampled_rhos.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~ rand_basis_funs.cpp: In function ‘void fit_ensemble(std::vector&, std::vector&, data_info&)’: rand_basis_funs.cpp:122:17: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘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::size_type’ {aka ‘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 >&, arma::vec&, int&, data_info&)’: rand_basis_funs.cpp:192:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 192 | for (int i = 0; i < sampled_rhos.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~ 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 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::size_type’ {aka ‘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::Nullable >, Rcpp::Nullable >, 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 >::size_type’ {aka ‘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 >::size_type’ {aka ‘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 >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 443 | for (int i = 0; i < sampled_rhos.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~ rand_basis_funs.cpp: In function ‘arma::vec draw_rho(std::vector >&, 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"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c rng.cpp -o rng.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -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 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::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 399 | if(hex_str.size() != num_blocks+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from data_parsing_funs.h:4, from rng.h:3, from rng.cpp:1: structs.h: In member function ‘std::set 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::size_type’ {aka ‘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)){ | ~~~~~~~~~^~~~ rridgeBART.cpp: In function ‘Rcpp::List drawTree(Rcpp::NumericMatrix, Rcpp::IntegerMatrix, Rcpp::NumericMatrix, Rcpp::LogicalVector, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, 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::Nullable >, Rcpp::Nullable >, 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"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c rule_funs.cpp -o rule_funs.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c save_trees.cpp -o save_trees.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c tree.cpp -o 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 rule_funs.cpp:2: structs.h: In member function ‘std::set 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::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 399 | if(hex_str.size() != num_blocks+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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 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::size_type’ {aka ‘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::vector >&, std::vector >&, std::vector >&, std::vector > >&, tree_prior_info&, data_info&)’: save_trees.cpp:158:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘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 >::size_type’ {aka ‘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 >::size_type’ {aka ‘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 >::size_type’ {aka ‘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 > >::size_type’ {aka ‘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::vector >&, std::vector >&, std::vector >&, std::vector > >&, int&, int&, set_str_conversion&)’: save_trees.cpp:254:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 254 | if (last_log_index == change_log.size()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 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 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::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 399 | if(hex_str.size() != num_blocks+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -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 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::size_type’ {aka ‘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 >&, 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 >::size_type’ {aka ‘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 >::size_type’ {aka ‘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 >::size_type’ {aka ‘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 >::size_type’ {aka ‘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 -L/usr/local/lib64 -o ridgeBART.so 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 -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ridgeBART/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ridgeBART/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ridgeBART/src' installing to /data/gannet/ripley/R/packages/tests-devel/ridgeBART.Rcheck/00LOCK-ridgeBART/00new/ridgeBART/libs ** 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 ** 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 (ridgeBART)