* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘VCBART’ ...
** this is package ‘VCBART’ version ‘1.2.4’
** package ‘VCBART’ 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/Rtmpct6yaq/R.INSTALL282e294dd14448/VCBART/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 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:260:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
260 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
funs.cpp: In function ‘void fit_ensemble(std::vector<double>&, std::vector<tree>&, data_info&)’:
funs.cpp:46:17: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
46 | 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:53:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<tree>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
53 | for(int m = 0; m < t_vec.size(); m++) fit[i] += t_vec[m].evaluate(zz_cont, zz_cat); // involves a tree traversal
| ~~^~~~~~~~~~~~~~
funs.cpp: In function ‘void graph_partition(std::set<int>&, std::set<int>&, std::set<int>&, std::vector<edge>&, int&, int&, RNG&)’:
funs.cpp:1060: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]
1060 | for(int comp_ix = 0; comp_ix < components.size(); comp_ix++){
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~
funs.cpp:1096:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<edge>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1096 | for(int e = 0; e < mst_edges.size(); e++){
| ~~^~~~~~~~~~~~~~~~~~
funs.cpp: In function ‘void update_theta_u(std::vector<double>&, double&, std::vector<int, std::allocator<int> >&, int&, double&, double&, RNG&)’:
funs.cpp:1122:19: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1122 | if(theta.size() != R){
| ~~~~~~~~~~~~~^~~~
funs.cpp: In function ‘void compute_suff_stat_grow(suff_stat&, suff_stat&, int&, rule_t&, tree&, data_info&)’:
funs.cpp:130:131: warning: ‘zz_cont’ may be used uninitialized [-Wmaybe-uninitialized]
130 | for(rc_it rcit = rule.rc_weight.begin(); rcit != rule.rc_weight.end(); ++rcit) tmp_z += (rcit->second) * zz_cont[rcit->first];
| ^
funs.cpp:59:11: note: ‘zz_cont’ was declared here
59 | double* zz_cont;
| ^~~~~~~
funs.cpp:109:52: warning: ‘zz_cat’ may be used uninitialized [-Wmaybe-uninitialized]
109 | l_count = rule.l_vals.count(zz_cat[rule.v_cat]);
| ^
funs.cpp:60:8: note: ‘zz_cat’ was declared here
60 | int* zz_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_vcbart.cpp -o predict_vcbart.o
In file included from rng.h:3,
from tree.h:5,
from funs.h:6,
from predict_vcbart.cpp:1:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:260:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
260 | 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 rescale_beta.cpp -o rescale_beta.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 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:260:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
260 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
rng.cpp: In member function ‘arma::vec RNG::mvnormal(arma::vec, arma::mat)’:
rng.cpp:107:17: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
107 | if( (P.n_rows != d) | (P.n_cols != d)){
| ~~~~~~~~~^~~~
rng.cpp:107:35: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
107 | 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:260:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
260 | 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_trees.cpp -o update_trees.o
In file included from rng.h:3,
from tree.h:5,
from funs.h:6,
from update_trees.h:4,
from update_trees.cpp:1:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:260:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
260 | 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 vcbart_cs_fit.cpp -o vcbart_cs_fit.o
In file included from rng.h:3,
from tree.h:5,
from funs.h:6,
from update_trees.h:4,
from vcbart_cs_fit.cpp:1:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:260:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
260 | 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 vcbart_ind_fit.cpp -o vcbart_ind_fit.o
In file included from rng.h:3,
from tree.h:5,
from funs.h:6,
from update_trees.h:4,
from vcbart_ind_fit.cpp:1:
helpers.h: In member function ‘std::set<int> set_str_conversion::hex_to_set(int&, std::string&)’:
helpers.h:260:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
260 | 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 VCBART.so RcppExports.o funs.o predict_vcbart.o rescale_beta.o rng.o tree.o update_trees.o vcbart_cs_fit.o vcbart_ind_fit.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/Rtmpct6yaq/R.INSTALL282e294dd14448/VCBART/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpct6yaq/R.INSTALL282e294dd14448/VCBART/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpct6yaq/R.INSTALL282e294dd14448/VCBART/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-VCBART/00new/VCBART/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘VCBART’
finding HTML links ... done
VCBART_cs html
VCBART_ind html
predict_betas html
summarize_beta 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 (VCBART)