* 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++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2025_12_17_01_50_00_18063/RtmpAnb8WW/R.INSTALL336419c95bd1/flexBCF/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/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" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/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" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 long unsigned int'} and 'int' [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/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" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 long unsigned int'} and 'int' [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/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" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 long unsigned int'} and 'int' [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/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" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 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 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 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 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 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 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 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/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" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 long unsigned int'} and 'int' [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/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" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/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" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 long unsigned int'} and 'int' [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/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" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 long unsigned int'} and 'int' [-Wsign-compare]
235 | if(hex_str.size() != num_blocks+1){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
g++ -std=gnu++17 -shared -s -static-libgcc -o flexBCF.dll tmp.def RcppExports.o compute_SATT.o compute_weighted_SATT.o flexBCF.o funs.o predict_flexBART.o rng.o tree.o update_tree.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/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/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_12_17_01_50_00_18063/RtmpAnb8WW/R.INSTALL336419c95bd1/flexBCF/src'
make[1]: Entering directory '/d/temp/2025_12_17_01_50_00_18063/RtmpAnb8WW/R.INSTALL336419c95bd1/flexBCF/src'
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
make[1]: Leaving directory '/d/temp/2025_12_17_01_50_00_18063/RtmpAnb8WW/R.INSTALL336419c95bd1/flexBCF/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-flexBCF/00new/flexBCF/libs/x64
** R
** inst
** 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 'flexBCF' as flexBCF_1.0.2.zip
* DONE (flexBCF)