* installing *source* package ‘ATAforecasting’ ...
** package ‘ATAforecasting’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (GCC) 13.2.0’
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ATAforecasting/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/usr/local/include   -I../inst/include -I. -fopenmp  -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 ATA.cpp -o ATA.o
gcc-13 -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/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c ATAforecasting_init.c -o ATAforecasting_init.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/usr/local/include   -I../inst/include -I. -fopenmp  -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
ATA.cpp: In function 'Rcpp::NumericVector ATAHoldoutForecast(Rcpp::NumericVector, int, int, double, int, int, int, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, int)':
ATA.cpp:1639:56: warning: 'T_1' may be used uninitialized [-Wmaybe-uninitialized]
 1639 |         T = coefqk * (1.0 * S / S_1) + (1-coefqk) * pow(T_1, IZPHI);
      |                                                     ~~~^~~~~~~~~~~~
ATA.cpp:1433:59: note: 'T_1' was declared here
 1433 |   double coefpk, coefqk, Xobs, Xlag, phiTotal, S, T, S_1, T_1, T_0;
      |                                                           ^~~
ATA.cpp:1638:40: warning: 'S_1' may be used uninitialized [-Wmaybe-uninitialized]
 1638 |         S = coefpk * Xobs + (1-coefpk) * S_1 * pow(T_1, IZPHI);
      |                             ~~~~~~~~~~~^~~~~
ATA.cpp:1433:54: note: 'S_1' was declared here
 1433 |   double coefpk, coefqk, Xobs, Xlag, phiTotal, S, T, S_1, T_1, T_0;
      |                                                      ^~~
ATA.cpp: In function 'Rcpp::NumericVector SubATA(arma::mat, int, int, int, int, int, int, int, double, double, double, int, int, arma::mat, arma::mat, Rcpp::NumericVector, Rcpp::NumericVector, int, int, int, int)':
ATA.cpp:920:10: warning: 'd_opt_p' may be used uninitialized [-Wmaybe-uninitialized]
  920 |   out[0] = d_opt_p;
ATA.cpp:881:8: note: 'd_opt_p' was declared here
  881 |   int  d_opt_p;
      |        ^~~~~~~
ATA.cpp:921:10: warning: 'd_opt_q' may be used uninitialized [-Wmaybe-uninitialized]
  921 |   out[1] = d_opt_q;
ATA.cpp:882:8: note: 'd_opt_q' was declared here
  882 |   int  d_opt_q;
      |        ^~~~~~~
ATA.cpp:923:10: warning: 'd_opt_mo' may be used uninitialized [-Wmaybe-uninitialized]
  923 |   out[3] = d_opt_mo;
ATA.cpp:884:7: note: 'd_opt_mo' was declared here
  884 |   int d_opt_mo;
      |       ^~~~~~~~
ATA.cpp:924:10: warning: 'd_opt_smo' may be used uninitialized [-Wmaybe-uninitialized]
  924 |   out[4] = d_opt_smo;
ATA.cpp:885:7: note: 'd_opt_smo' was declared here
  885 |   int d_opt_smo;
      |       ^~~~~~~~~
ATA.cpp:925:10: warning: 'd_opt_st' may be used uninitialized [-Wmaybe-uninitialized]
  925 |   out[5] = d_opt_st;
ATA.cpp:886:7: note: 'd_opt_st' was declared here
  886 |   int d_opt_st;
      |       ^~~~~~~~
ATA.cpp:926:10: warning: 'd_opt_clmn' may be used uninitialized [-Wmaybe-uninitialized]
  926 |   out[6] = d_opt_clmn;
ATA.cpp:887:7: note: 'd_opt_clmn' was declared here
  887 |   int d_opt_clmn;
      |       ^~~~~~~~~~
ATA.cpp: In function 'double SubATACoreHoldout(Rcpp::NumericVector, int, int, double, int, int, int, int, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, int)':
ATA.cpp:1150:31: warning: 'S_1' may be used uninitialized [-Wmaybe-uninitialized]
 1150 |         T = coefqk * (1.0 * S / S_1) + (1-coefqk) * pow(T_1, IZPHI);
      |                      ~~~~~~~~~^~~~~~
ATA.cpp:938:54: note: 'S_1' was declared here
  938 |   double coefpk, coefqk, Xobs, Xlag, phiTotal, S, T, S_1, T_1, T_0;
      |                                                      ^~~
ATA.cpp:1150:56: warning: 'T_1' may be used uninitialized [-Wmaybe-uninitialized]
 1150 |         T = coefqk * (1.0 * S / S_1) + (1-coefqk) * pow(T_1, IZPHI);
      |                                                     ~~~^~~~~~~~~~~~
ATA.cpp:938:59: note: 'T_1' was declared here
  938 |   double coefpk, coefqk, Xobs, Xlag, phiTotal, S, T, S_1, T_1, T_0;
      |                                                           ^~~
ATA.cpp: In function 'Rcpp::NumericVector SubATAHoldout(arma::mat, int, int, int, int, int, int, int, double, double, double, int, int, arma::mat, arma::mat, Rcpp::NumericVector, Rcpp::NumericVector, int, int, Rcpp::NumericVector, arma::mat, int)':
ATA.cpp:1415:10: warning: 'd_opt_p' may be used uninitialized [-Wmaybe-uninitialized]
 1415 |   out[0] = d_opt_p;
ATA.cpp:1375:8: note: 'd_opt_p' was declared here
 1375 |   int  d_opt_p;
      |        ^~~~~~~
ATA.cpp:1416:10: warning: 'd_opt_q' may be used uninitialized [-Wmaybe-uninitialized]
 1416 |   out[1] = d_opt_q;
ATA.cpp:1376:8: note: 'd_opt_q' was declared here
 1376 |   int  d_opt_q;
      |        ^~~~~~~
ATA.cpp:1418:10: warning: 'd_opt_mo' may be used uninitialized [-Wmaybe-uninitialized]
 1418 |   out[3] = d_opt_mo;
ATA.cpp:1378:7: note: 'd_opt_mo' was declared here
 1378 |   int d_opt_mo;
      |       ^~~~~~~~
ATA.cpp:1419:10: warning: 'd_opt_smo' may be used uninitialized [-Wmaybe-uninitialized]
 1419 |   out[4] = d_opt_smo;
ATA.cpp:1379:7: note: 'd_opt_smo' was declared here
 1379 |   int d_opt_smo;
      |       ^~~~~~~~~
ATA.cpp:1420:10: warning: 'd_opt_st' may be used uninitialized [-Wmaybe-uninitialized]
 1420 |   out[5] = d_opt_st;
ATA.cpp:1380:7: note: 'd_opt_st' was declared here
 1380 |   int d_opt_st;
      |       ^~~~~~~~
ATA.cpp:1421:10: warning: 'd_opt_clmn' may be used uninitialized [-Wmaybe-uninitialized]
 1421 |   out[6] = d_opt_clmn;
ATA.cpp:1381:7: note: 'd_opt_clmn' was declared here
 1381 |   int d_opt_clmn;
      |       ^~~~~~~~~~
ATA.cpp: In function 'Rcpp::NumericVector SubATAHoldhin(arma::mat, int, int, int, int, int, int, int, double, double, double, int, int, arma::mat, arma::mat, Rcpp::NumericVector, Rcpp::NumericVector, int, int, Rcpp::NumericVector, int, int)':
ATA.cpp:2299:10: warning: 'd_opt_p' may be used uninitialized [-Wmaybe-uninitialized]
 2299 |   out[0] = d_opt_p;
ATA.cpp:2260:8: note: 'd_opt_p' was declared here
 2260 |   int  d_opt_p;
      |        ^~~~~~~
ATA.cpp:2300:10: warning: 'd_opt_q' may be used uninitialized [-Wmaybe-uninitialized]
 2300 |   out[1] = d_opt_q;
ATA.cpp:2261:8: note: 'd_opt_q' was declared here
 2261 |   int  d_opt_q;
      |        ^~~~~~~
ATA.cpp:2302:10: warning: 'd_opt_mo' may be used uninitialized [-Wmaybe-uninitialized]
 2302 |   out[3] = d_opt_mo;
ATA.cpp:2263:7: note: 'd_opt_mo' was declared here
 2263 |   int d_opt_mo;
      |       ^~~~~~~~
ATA.cpp:2303:10: warning: 'd_opt_smo' may be used uninitialized [-Wmaybe-uninitialized]
 2303 |   out[4] = d_opt_smo;
ATA.cpp:2264:7: note: 'd_opt_smo' was declared here
 2264 |   int d_opt_smo;
      |       ^~~~~~~~~
ATA.cpp:2304:10: warning: 'd_opt_st' may be used uninitialized [-Wmaybe-uninitialized]
 2304 |   out[5] = d_opt_st;
ATA.cpp:2265:7: note: 'd_opt_st' was declared here
 2265 |   int d_opt_st;
      |       ^~~~~~~~
ATA.cpp:2305:10: warning: 'd_opt_clmn' may be used uninitialized [-Wmaybe-uninitialized]
 2305 |   out[6] = d_opt_clmn;
ATA.cpp:2266:7: note: 'd_opt_clmn' was declared here
 2266 |   int d_opt_clmn;
      |       ^~~~~~~~~~
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 ATAforecasting.so ATA.o ATAforecasting_init.o RcppExports.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/ATAforecasting/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ATAforecasting/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ATAforecasting/src'
installing to /data/gannet/ripley/R/packages/tests-devel/ATAforecasting.Rcheck/00LOCK-ATAforecasting/00new/ATAforecasting/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** 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
** 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 (ATAforecasting)