* installing *source* package 'sbrl' ... ** package 'sbrl' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' make[1]: Entering directory '/d/temp/2024_12_25_01_50_00_20757/Rtmp8uiKV8/R.INSTALL16444461c7d13/sbrl/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DGMP -I../inst/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rcpp_module.cpp -o rcpp_module.o In file included from rcpp_module.cpp:11: rcpp_module.cpp: In function 'Rcpp::List _train(int, int, Rcpp::List, Rcpp::CharacterVector, Rcpp::CharacterVector, Rcpp::StringVector, Rcpp::StringVector, Rcpp::IntegerMatrix, Rcpp::IntegerMatrix)': mytime.h:51:15: warning: variable '_tmp' set but not used [-Wunused-but-set-variable] 51 | float _tmp; \ | ^~~~ rcpp_module.cpp:68:17: note: in expansion of macro 'REPORT_TIME' 68 | REPORT_TIME("Initialize time", "per rule", tv_end, data.nrules); | ^~~~~~~~~~~ mytime.h:51:15: warning: variable '_tmp' set but not used [-Wunused-but-set-variable] 51 | float _tmp; \ | ^~~~ rcpp_module.cpp:105:17: note: in expansion of macro 'REPORT_TIME' 105 | REPORT_TIME("Time to train", "", tv_end, 1); | ^~~~~~~~~~~ rcpp_module.cpp:108:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 108 | for (int i=0; i<pred_model_sbrl.ids.size(); i++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ rcpp_module.cpp:111:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 111 | for (int i=0; i<pred_model_sbrl.thetas.size(); i++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DGMP -I../inst/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rulelib.cpp -o rulelib.o rulelib.cpp: In function 'void rules_init(const std::string&, std::vector<Rule>&, size_t, size_t, int)': rulelib.cpp:122:31: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 122 | if (nsamples_expected != sample_cnt) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ rulelib.cpp: In static member function 'static Ruleset Ruleset::ruleset_init(int, const std::vector<int>&, std::vector<Rule>&)': rulelib.cpp:318:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 318 | for (int i = 0; i < idarray.size(); i++) { | ~~^~~~~~~~~~~~~~~~ rulelib.cpp: In member function 'int Ruleset::pick_random_rule(int, gsl_rng*) const': rulelib.cpp:524:35: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'int' [-Wsign-compare] 524 | if (entry.rule_id == new_rule) { | ~~~~~~~~~~~~~~^~~~~~~~~~~ rulelib.cpp: In function 'int count_ones(v_entry)': rulelib.cpp:728:23: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 728 | for (i = 0; i < sizeof(v_entry); i++) { | ~~^~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DGMP -I../inst/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c train.cpp -o train.o train.cpp: In function 'void propose(Ruleset&, std::vector<Rule>&, std::vector<Rule>&, int, double&, double&, double, int&, double&, const Params&, gsl_rng*, int (*)(double, double, double, double, double&, gsl_rng*))': train.cpp:150:45: warning: 'change_ndx' may be used uninitialized [-Wmaybe-uninitialized] 150 | new_log_post = compute_log_posterior(rs_new, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 151 | rules, nrules, labels, params, 0, change_ndx, prefix_bound); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ train.cpp:116:13: note: 'change_ndx' was declared here 116 | int change_ndx, ndx1, ndx2; | ^~~~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o sbrl.dll tmp.def rcpp_module.o rulelib.o train.o -lgsl -lgslcblas -lm -LC:\Rtools\local323\lib\x64 -lgmp -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR make[1]: Leaving directory '/d/temp/2024_12_25_01_50_00_20757/Rtmp8uiKV8/R.INSTALL16444461c7d13/sbrl/src' make[1]: Entering directory '/d/temp/2024_12_25_01_50_00_20757/Rtmp8uiKV8/R.INSTALL16444461c7d13/sbrl/src' make[1]: Leaving directory '/d/temp/2024_12_25_01_50_00_20757/Rtmp8uiKV8/R.INSTALL16444461c7d13/sbrl/src' installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-sbrl/00new/sbrl/libs/x64 ** R ** data *** moving datasets to lazyload DB ** 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 'sbrl' as sbrl_1.4.zip * DONE (sbrl)