* installing *source* package 'profoc' ... ** package 'profoc' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.3.0' make[1]: Entering directory '/d/temp/2024_11_19_01_50_00_21579/RtmpMjs0KS/R.INSTALL3abc575f3461/profoc/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/splines2/include' -I'D:/RCompile/CRANpkg/lib/4.4/rcpptimer/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include -I../inst/include/optim -DRCPP_ARMADILLO_FIX_Field -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/splines2/include' -I'D:/RCompile/CRANpkg/lib/4.4/rcpptimer/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include -I../inst/include/optim -DRCPP_ARMADILLO_FIX_Field -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c batch.cpp -o batch.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/splines2/include' -I'D:/RCompile/CRANpkg/lib/4.4/rcpptimer/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include -I../inst/include/optim -DRCPP_ARMADILLO_FIX_Field -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c conline.cpp -o conline.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/splines2/include' -I'D:/RCompile/CRANpkg/lib/4.4/rcpptimer/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include -I../inst/include/optim -DRCPP_ARMADILLO_FIX_Field -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c conline_exports.cpp -o conline_exports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/splines2/include' -I'D:/RCompile/CRANpkg/lib/4.4/rcpptimer/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include -I../inst/include/optim -DRCPP_ARMADILLO_FIX_Field -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c loss.cpp -o loss.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/splines2/include' -I'D:/RCompile/CRANpkg/lib/4.4/rcpptimer/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include -I../inst/include/optim -DRCPP_ARMADILLO_FIX_Field -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c misc.cpp -o misc.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/splines2/include' -I'D:/RCompile/CRANpkg/lib/4.4/rcpptimer/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include -I../inst/include/optim -DRCPP_ARMADILLO_FIX_Field -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c oracle.cpp -o oracle.o In file included from ../inst/include/optim/optim.hpp:44, from oracle.cpp:9: ../inst/include/optim/unconstrained/bfgs.hpp: In function 'bool optim::internal::bfgs_impl(optim::Vec_t&, std::function<double(const arma::Col<double>&, arma::Col<double>*, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/unconstrained/bfgs.hpp:105:15: warning: unused variable 'print_level' [-Wunused-variable] 105 | const int print_level = settings.print_level; | ^~~~~~~~~~~ In file included from ../inst/include/optim/optim.hpp:45: ../inst/include/optim/unconstrained/lbfgs.hpp: In function 'bool optim::internal::lbfgs_impl(optim::Vec_t&, std::function<double(const arma::Col<double>&, arma::Col<double>*, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/unconstrained/lbfgs.hpp:141:15: warning: unused variable 'print_level' [-Wunused-variable] 141 | const int print_level = settings.print_level; | ^~~~~~~~~~~ In file included from ../inst/include/optim/optim.hpp:46: ../inst/include/optim/unconstrained/newton.hpp: In function 'bool optim::internal::newton_impl(optim::Vec_t&, std::function<double(const arma::Col<double>&, arma::Col<double>*, arma::Mat<double>*, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/unconstrained/newton.hpp:106:15: warning: unused variable 'print_level' [-Wunused-variable] 106 | const int print_level = settings.print_level; | ^~~~~~~~~~~ In file included from ../inst/include/optim/optim.hpp:47: ../inst/include/optim/unconstrained/cg.hpp: In function 'bool optim::internal::cg_impl(optim::Vec_t&, std::function<double(const arma::Col<double>&, arma::Col<double>*, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/unconstrained/cg.hpp:195:15: warning: unused variable 'print_level' [-Wunused-variable] 195 | const int print_level = settings.print_level; | ^~~~~~~~~~~ In file included from ../inst/include/optim/optim.hpp:48: ../inst/include/optim/unconstrained/gd.hpp: In function 'bool optim::internal::gd_basic_impl(optim::Vec_t&, std::function<double(const arma::Col<double>&, arma::Col<double>*, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/unconstrained/gd.hpp:107:15: warning: unused variable 'print_level' [-Wunused-variable] 107 | const int print_level = settings.print_level; | ^~~~~~~~~~~ In file included from ../inst/include/optim/optim.hpp:49: ../inst/include/optim/unconstrained/de.hpp: In function 'bool optim::internal::de_impl(optim::Vec_t&, std::function<double(const arma::Col<double>&, arma::Col<double>*, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/unconstrained/de.hpp:102:15: warning: unused variable 'print_level' [-Wunused-variable] 102 | const int print_level = settings.print_level; | ^~~~~~~~~~~ In file included from ../inst/include/optim/optim.hpp:50: ../inst/include/optim/unconstrained/de_prmm.hpp: In function 'bool optim::internal::de_prmm_impl(optim::Vec_t&, std::function<double(const arma::Col<double>&, arma::Col<double>*, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/unconstrained/de_prmm.hpp:103:15: warning: unused variable 'print_level' [-Wunused-variable] 103 | const int print_level = settings.print_level; | ^~~~~~~~~~~ In file included from ../inst/include/optim/optim.hpp:51: ../inst/include/optim/unconstrained/nm.hpp: In function 'bool optim::internal::nm_impl(optim::Vec_t&, std::function<double(const arma::Col<double>&, arma::Col<double>*, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/unconstrained/nm.hpp:169:12: warning: variable 'min_val' set but not used [-Wunused-but-set-variable] 169 | double min_val = OPTIM_MATOPS_MIN_VAL(simplex_fn_vals); | ^~~~~~~ In file included from ../inst/include/optim/optim.hpp:52: ../inst/include/optim/unconstrained/pso.hpp: In function 'bool optim::internal::pso_impl(optim::Vec_t&, std::function<double(const arma::Col<double>&, arma::Col<double>*, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/unconstrained/pso.hpp:103:15: warning: unused variable 'print_level' [-Wunused-variable] 103 | const int print_level = settings.print_level; | ^~~~~~~~~~~ In file included from ../inst/include/optim/optim.hpp:53: ../inst/include/optim/unconstrained/pso_dv.hpp: In function 'bool optim::internal::pso_dv_impl(optim::Vec_t&, std::function<double(const arma::Col<double>&, arma::Col<double>*, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/unconstrained/pso_dv.hpp:103:15: warning: unused variable 'print_level' [-Wunused-variable] 103 | const int print_level = settings.print_level; | ^~~~~~~~~~~ In file included from ../inst/include/optim/optim.hpp:59: ../inst/include/optim/zeros/broyden.hpp: In function 'bool optim::internal::broyden_impl(optim::Vec_t&, std::function<arma::Col<double>(const arma::Col<double>&, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/zeros/broyden.hpp:164:15: warning: unused variable 'print_level' [-Wunused-variable] 164 | const int print_level = settings.print_level; | ^~~~~~~~~~~ ../inst/include/optim/zeros/broyden.hpp: In function 'bool optim::internal::broyden_impl(optim::Vec_t&, std::function<arma::Col<double>(const arma::Col<double>&, void*)>, void*, std::function<arma::Mat<double>(const arma::Col<double>&, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/zeros/broyden.hpp:302:15: warning: unused variable 'print_level' [-Wunused-variable] 302 | const int print_level = settings.print_level; | ^~~~~~~~~~~ In file included from ../inst/include/optim/optim.hpp:60: ../inst/include/optim/zeros/broyden_df.hpp: In function 'bool optim::internal::broyden_df_impl(optim::Vec_t&, std::function<arma::Col<double>(const arma::Col<double>&, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/zeros/broyden_df.hpp:217:15: warning: unused variable 'print_level' [-Wunused-variable] 217 | const int print_level = settings.print_level; | ^~~~~~~~~~~ ../inst/include/optim/zeros/broyden_df.hpp: In function 'bool optim::internal::broyden_df_impl(optim::Vec_t&, std::function<arma::Col<double>(const arma::Col<double>&, void*)>, void*, std::function<arma::Mat<double>(const arma::Col<double>&, void*)>, void*, optim::algo_settings_t*)': ../inst/include/optim/zeros/broyden_df.hpp:390:15: warning: unused variable 'print_level' [-Wunused-variable] 390 | const int print_level = settings.print_level; | ^~~~~~~~~~~ oracle.cpp: In function 'arma::vec optimize_weights(const arma::vec&, const arma::mat&, const bool&, const bool&, const bool&, const bool&, const std::string&, const double&, const double&, const double&)': oracle.cpp:309:5: warning: 'success' may be used uninitialized [-Wmaybe-uninitialized] 309 | if (!success) | ^~ oracle.cpp:244:10: note: 'success' was declared here 244 | bool success; | ^~~~~~~ oracle.cpp: In function 'arma::mat optimize_betas(const arma::mat&, const arma::cube&, const bool&, const bool&, const bool&, const bool&, const std::string&, const arma::vec&, const double&, const double&, const arma::sp_mat&, const arma::mat&, const bool&)': oracle.cpp:442:5: warning: 'success' may be used uninitialized [-Wmaybe-uninitialized] 442 | if (!success) | ^~ oracle.cpp:355:10: note: 'success' was declared here 355 | bool success; | ^~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/splines2/include' -I'D:/RCompile/CRANpkg/lib/4.4/rcpptimer/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include -I../inst/include/optim -DRCPP_ARMADILLO_FIX_Field -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c profoc_types.cpp -o profoc_types.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/splines2/include' -I'D:/RCompile/CRANpkg/lib/4.4/rcpptimer/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include -I../inst/include/optim -DRCPP_ARMADILLO_FIX_Field -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c splines.cpp -o splines.o g++ -std=gnu++17 -shared -s -static-libgcc -o profoc.dll tmp.def RcppExports.o batch.o conline.o conline_exports.o loss.o misc.o oracle.o profoc_types.o splines.o -fopenmp -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.2/bin/x64 -lR make[1]: Leaving directory '/d/temp/2024_11_19_01_50_00_21579/RtmpMjs0KS/R.INSTALL3abc575f3461/profoc/src' make[1]: Entering directory '/d/temp/2024_11_19_01_50_00_21579/RtmpMjs0KS/R.INSTALL3abc575f3461/profoc/src' make[1]: Leaving directory '/d/temp/2024_11_19_01_50_00_21579/RtmpMjs0KS/R.INSTALL3abc575f3461/profoc/src' installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-profoc/00new/profoc/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** installing vignettes ** 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 'profoc' as profoc_1.3.3.zip * DONE (profoc)