* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘profoc’ ...
** package ‘profoc’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmprRY05x/R.INSTALL9b0e17136d49f/profoc/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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/splines2/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rcpptimer/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/splines2/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rcpptimer/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native   -c batch.cpp -o batch.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/splines2/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rcpptimer/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native   -c conline.cpp -o conline.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/splines2/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rcpptimer/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native   -c conline_exports.cpp -o conline_exports.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/splines2/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rcpptimer/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native   -c loss.cpp -o loss.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/splines2/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rcpptimer/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native   -c misc.cpp -o misc.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/splines2/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rcpptimer/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native   -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::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;
      |          ^~~~~~~
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;
      |          ^~~~~~~
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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/splines2/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rcpptimer/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native   -c profoc_types.cpp -o profoc_types.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/splines2/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rcpptimer/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native   -c splines.cpp -o splines.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o profoc.so RcppExports.o batch.o conline.o conline_exports.o loss.o misc.o oracle.o profoc_types.o splines.o -fopenmp -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/RtmprRY05x/R.INSTALL9b0e17136d49f/profoc/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmprRY05x/R.INSTALL9b0e17136d49f/profoc/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmprRY05x/R.INSTALL9b0e17136d49f/profoc/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-profoc/00new/profoc/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘profoc’
    finding HTML links ... done
    autoplot.batch                          html  
    autoplot.online                         html  
    batch                                   html  
    conline                                 html  
    init_experts_list                       html  
    make_basis_mats                         html  
    make_hat_mats                           html  
    make_knots                              html  
    online                                  html  
    oracle                                  html  
    penalty                                 html  
    plot.batch                              html  
    plot.online                             html  
    post_process_model                      html  
    predict.online                          html  
    print.batch                             html  
    print.online                            html  
    profoc-package                          html  
    reexports                               html  
    splines2_basis                          html  
    summary.online                          html  
    tidy.online.experts_loss                html  
    tidy.online.forecaster_loss             html  
    tidy.online.predictions                 html  
    tidy.online.weights                     html  
    update.online                           html  
*** copying figures
** building package indices
** installing vignettes
** 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 (profoc)