* installing *source* package ‘profoc’ ...
** package ‘profoc’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/profoc/src'
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/splines2/include' -I'/data/gannet/ripley/R/test-dev/rcpptimer/include' -I/usr/local/include   -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/splines2/include' -I'/data/gannet/ripley/R/test-dev/rcpptimer/include' -I/usr/local/include   -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c batch.cpp -o batch.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/splines2/include' -I'/data/gannet/ripley/R/test-dev/rcpptimer/include' -I/usr/local/include   -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c conline.cpp -o conline.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/splines2/include' -I'/data/gannet/ripley/R/test-dev/rcpptimer/include' -I/usr/local/include   -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c conline_exports.cpp -o conline_exports.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/splines2/include' -I'/data/gannet/ripley/R/test-dev/rcpptimer/include' -I/usr/local/include   -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c loss.cpp -o loss.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/splines2/include' -I'/data/gannet/ripley/R/test-dev/rcpptimer/include' -I/usr/local/include   -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c misc.cpp -o misc.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/splines2/include' -I'/data/gannet/ripley/R/test-dev/rcpptimer/include' -I/usr/local/include   -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c oracle.cpp -o oracle.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/splines2/include' -I'/data/gannet/ripley/R/test-dev/rcpptimer/include' -I/usr/local/include   -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c profoc_types.cpp -o profoc_types.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/splines2/include' -I'/data/gannet/ripley/R/test-dev/rcpptimer/include' -I/usr/local/include   -fopenmp  -I../inst/include -I../inst/include/optim  -DRCPP_ARMADILLO_FIX_Field -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c splines.cpp -o splines.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++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -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/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/profoc/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/profoc/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/profoc/src'
installing to /data/gannet/ripley/R/packages/tests-devel/profoc.Rcheck/00LOCK-profoc/00new/profoc/libs
** 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
** 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)