* installing *source* package 'sbrl' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools44/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::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 108 | for (int i=0; i::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 111 | for (int i=0; i&, 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&, std::vector&)': rulelib.cpp:318:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::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/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools44/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&, std::vector&, 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:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/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 * DONE (sbrl)