* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘flexBCF’ ...
** this is package ‘flexBCF’ version ‘1.0.2’
** package ‘flexBCF’ 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/Rtmp7H76zz/R.INSTALL2471ccb077be3/flexBCF/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-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-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c compute_SATT.cpp -o compute_SATT.o
In file included from rng.h:3,
from tree.h:5,
from funs.h:6,
from compute_SATT.cpp:6:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:235:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c compute_weighted_SATT.cpp -o compute_weighted_SATT.o
In file included from rng.h:3,
from tree.h:5,
from funs.h:6,
from compute_weighted_SATT.cpp:6:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:235:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c flexBCF.cpp -o flexBCF.o
In file included from rng.h:3,
from tree.h:5,
from funs.h:6,
from update_tree.h:4,
from flexBCF.cpp:3:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:235:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c funs.cpp -o funs.o
In file included from rng.h:3,
from tree.h:5,
from funs.h:6,
from funs.cpp:1:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:235:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
funs.cpp: In function ‘void fit_ensemble_mu(std::vector<double>&, std::vector<tree>&, data_info&)’:
funs.cpp:85:17: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
85 | if(fit.size() != di.n) Rcpp::stop("[fit_ensemble]: size of fit must be equal to di.n!"); // honestly should never get triggered
| ~~~~~~~~~~~^~~~~~~
funs.cpp:92:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<tree>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
92 | for(int m = 0; m < t_vec.size(); m++) fit[i] += t_vec[m].evaluate(xx_cont, xx_cat); // involves a tree traversal
| ~~^~~~~~~~~~~~~~
funs.cpp: In function ‘void fit_ensemble_tau(std::vector<double>&, std::vector<tree>&, data_info&)’:
funs.cpp:97:17: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
97 | if(fit.size() != di.n) Rcpp::stop("[fit_ensemble]: size of fit must be equal to di.n!"); // honestly should never get triggered
| ~~~~~~~~~~~^~~~~~~
funs.cpp:104:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<tree>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
104 | for(int m = 0; m < t_vec.size(); m++) fit[i] += t_vec[m].evaluate(xx_cont, xx_cat); // involves a tree traversal
| ~~^~~~~~~~~~~~~~
funs.cpp: In function ‘std::pair<int, int> find_min_edge_weight(std::vector<int, std::allocator<int> >&, int&, arma::mat&)’:
funs.cpp:739:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
739 | if(components.size() == n) Rcpp::stop("[add_min_weight_edge]: component already contains all n nodes!");
| ~~~~~~~~~~~~~~~~~~^~~~
funs.cpp: In function ‘void graph_partition(std::set<int>&, std::set<int>&, std::set<int>&, std::vector<unsigned int>&, int&, int&, RNG&)’:
funs.cpp:914:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int, std::allocator<int> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
914 | for(int comp_ix = 0; comp_ix < components.size(); comp_ix++){
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~
funs.cpp: In function ‘void update_theta_u(std::vector<double>&, double&, std::vector<int, std::allocator<int> >&, int&, double&, double&, RNG&)’:
funs.cpp:970:19: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
970 | if(theta.size() != p){
| ~~~~~~~~~~~~~^~~~
funs.cpp: In function ‘void compute_suff_stat_grow_mu(suff_stat&, suff_stat&, int&, rule_t&, tree&, data_info&)’:
funs.cpp:169:131: warning: ‘xx_cont’ may be used uninitialized [-Wmaybe-uninitialized]
169 | for(rc_it rcit = rule.rc_weight.begin(); rcit != rule.rc_weight.end(); ++rcit) tmp_x += (rcit->second) * xx_cont[rcit->first];
| ^
funs.cpp:111:11: note: ‘xx_cont’ was declared here
111 | double* xx_cont;
| ^~~~~~~
funs.cpp:160:52: warning: ‘xx_cat’ may be used uninitialized [-Wmaybe-uninitialized]
160 | l_count = rule.l_vals.count(xx_cat[rule.v_cat]);
| ^
funs.cpp:112:8: note: ‘xx_cat’ was declared here
112 | int* xx_cat;
| ^~~~~~
funs.cpp: In function ‘void compute_suff_stat_grow_tau(suff_stat&, suff_stat&, int&, rule_t&, tree&, data_info&)’:
funs.cpp:243:133: warning: ‘xx_cont’ may be used uninitialized [-Wmaybe-uninitialized]
243 | for(rc_it rcit = rule.rc_weight.begin(); rcit != rule.rc_weight.end(); ++rcit) tmp_x += (rcit->second) * xx_cont[rcit->first];
| ^
funs.cpp:182:11: note: ‘xx_cont’ was declared here
182 | double* xx_cont;
| ^~~~~~~
funs.cpp:234:54: warning: ‘xx_cat’ may be used uninitialized [-Wmaybe-uninitialized]
234 | l_count = rule.l_vals.count(xx_cat[rule.v_cat]);
| ^
funs.cpp:183:8: note: ‘xx_cat’ was declared here
183 | int* xx_cat;
| ^~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c predict_flexBART.cpp -o predict_flexBART.o
In file included from rng.h:3,
from tree.h:5,
from funs.h:6,
from predict_flexBART.cpp:1:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:235:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c rng.cpp -o rng.o
In file included from rng.h:3,
from rng.cpp:1:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:235:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
rng.cpp: In member function ‘arma::vec RNG::mvnormal(arma::vec, arma::mat)’:
rng.cpp:91:17: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
91 | if( (P.n_rows != d) | (P.n_cols != d)){
| ~~~~~~~~~^~~~
rng.cpp:91:35: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
91 | if( (P.n_rows != d) | (P.n_cols != d)){
| ~~~~~~~~~^~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c tree.cpp -o tree.o
In file included from rng.h:3,
from tree.h:5,
from tree.cpp:4:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:235:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c update_tree.cpp -o update_tree.o
In file included from rng.h:3,
from tree.h:5,
from funs.h:6,
from update_tree.h:4,
from update_tree.cpp:1:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:235:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o flexBCF.so RcppExports.o compute_SATT.o compute_weighted_SATT.o flexBCF.o funs.o predict_flexBART.o rng.o tree.o update_tree.o -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp7H76zz/R.INSTALL2471ccb077be3/flexBCF/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp7H76zz/R.INSTALL2471ccb077be3/flexBCF/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp7H76zz/R.INSTALL2471ccb077be3/flexBCF/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-flexBCF/00new/flexBCF/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘flexBCF’
finding HTML links ... done
average_tree_fits html
flexBCF html
get_tree_fits html
** 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 (flexBCF)