* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘forecast’ ...
** package ‘forecast’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-23) 13.2.0’
using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpNy8LiG/R.INSTALL1bbd042bd6198/forecast/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DR_NO_REMAP -fpic  -g -O2 -Wall -pedantic -mtune=native   -c calcBATS.cpp -o calcBATS.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:30,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
                 from calcBATS.h:35,
                 from calcBATS.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined
   26 | #define R_NO_REMAP
      | 
<command-line>: note: this is the location of the previous definition
calcBATS.cpp: In function ‘SEXPREC* calcBATSFaster(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
calcBATS.cpp:91:82: warning: ‘sPeriods’ may be used uninitialized [-Wmaybe-uninitialized]
   91 |                         yHat(0,0) = yHat(0,0) +  xNought( (previousS + sPeriods[i] + adjBeta), 0);
      |                                                                        ~~~~~~~~~~^
calcBATS.cpp:55:60: note: ‘sPeriods’ was declared here
   55 |         int adjBeta, previousS, lengthArma, *tau, *p, *q, *sPeriods;
      |                                                            ^~~~~~~~
calcBATS.cpp:89:38: warning: ‘lengthSeasonal’ may be used uninitialized [-Wmaybe-uninitialized]
   89 |                 for(R_len_t i = 0; i < lengthSeasonal; i++) {
      |                                    ~~^~~~~~~~~~~~~~~~
calcBATS.cpp:56:17: note: ‘lengthSeasonal’ was declared here
   56 |         R_len_t lengthSeasonal;
      |                 ^~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DR_NO_REMAP -fpic  -g -O2 -Wall -pedantic -mtune=native   -c calcTBATS.cpp -o calcTBATS.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:30,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
                 from calcBATS.h:35,
                 from calcTBATS.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined
   26 | #define R_NO_REMAP
      | 
<command-line>: note: this is the location of the previous definition
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DR_NO_REMAP -fpic  -g -O2 -Wall -pedantic -mtune=native   -c etsTargetFunction.cpp -o etsTargetFunction.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:30,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp.h:27,
                 from etsTargetFunction.h:3,
                 from etsTargetFunction.cpp:7:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined
   26 | #define R_NO_REMAP
      | 
<command-line>: note: this is the location of the previous definition
etsTargetFunction.cpp: In member function ‘void EtsTargetFunction::eval(const double*, int)’:
etsTargetFunction.cpp:87:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   87 |         if(p_par_length != this->par.size()) {
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
etsTargetFunction.cpp:119:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  119 |         for(int i=par.size()-nstate; i < par.size(); i++) {
      |                                      ~~^~~~~~~~~~~~
etsTargetFunction.cpp:147:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  147 |                 for(int i=start; i<state.size(); i++) {
      |                                  ~^~~~~~~~~~~~~
etsTargetFunction.cpp:163:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  163 |         for(int i=0; i <= p*this->y.size(); i++) state.push_back(0);
      |                      ~~^~~~~~~~~~~~~~~~~~~
etsTargetFunction.cpp: In member function ‘bool EtsTargetFunction::admissible()’:
etsTargetFunction.cpp:298:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  298 |                 for(int i=0;i<zeror.size();i++) {
      |                             ~^~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DR_NO_REMAP -fpic  -g -O2 -Wall -pedantic -mtune=native   -c etsTargetFunctionWrapper.cpp -o etsTargetFunctionWrapper.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:30,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp.h:27,
                 from etsTargetFunctionWrapper.cpp:10:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined
   26 | #define R_NO_REMAP
      | 
<command-line>: note: this is the location of the previous definition
gcc-13 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c etscalc.c -o etscalc.o
etscalc.c: In function ‘etssimulate’:
etscalc.c:119:15: warning: variable ‘nstates’ set but not used [-Wunused-but-set-variable]
  119 |     int i, j, nstates;
      |               ^~~~~~~
gcc-13 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c etspolyroot.c -o etspolyroot.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DR_NO_REMAP -fpic  -g -O2 -Wall -pedantic -mtune=native   -c makeBATSMatrices.cpp -o makeBATSMatrices.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:30,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
                 from calcBATS.h:35,
                 from makeBATSMatrices.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined
   26 | #define R_NO_REMAP
      | 
<command-line>: note: this is the location of the previous definition
makeBATSMatrices.cpp: In function ‘SEXPREC* makeBATSGMatrix(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
makeBATSMatrices.cpp:134:56: warning: ‘gammaVector’ may be used uninitialized [-Wmaybe-uninitialized]
  134 |                 gTranspose(0, position) = gammaVector[0];
      |                                           ~~~~~~~~~~~~~^
makeBATSMatrices.cpp:92:17: note: ‘gammaVector’ was declared here
   92 |         double *gammaVector;
      |                 ^~~~~~~~~~~
makeBATSMatrices.cpp:137:72: warning: ‘seasonalPeriods’ may be used uninitialized [-Wmaybe-uninitialized]
  137 |                                 position = position + seasonalPeriods[s];
      |                                                       ~~~~~~~~~~~~~~~~~^
makeBATSMatrices.cpp:93:14: note: ‘seasonalPeriods’ was declared here
   93 |         int *seasonalPeriods, *p, *q;
      |              ^~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DR_NO_REMAP -fpic  -g -O2 -Wall -pedantic -mtune=native   -c makeTBATSMatrices.cpp -o makeTBATSMatrices.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:30,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
                 from calcBATS.h:35,
                 from makeTBATSMatrices.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined
   26 | #define R_NO_REMAP
      | 
<command-line>: note: this is the location of the previous definition
makeTBATSMatrices.cpp: In function ‘SEXPREC* makeTBATSWMatrix(SEXP, SEXP, SEXP, SEXP, SEXP)’:
makeTBATSMatrices.cpp:61:51: warning: ‘tau’ may be used uninitialized [-Wmaybe-uninitialized]
   61 |                         wTranspose(0,(adjustPhi + *tau +i)) = arCoefs[(i-1)];
      |                                                   ^~~~
makeTBATSMatrices.cpp:8:24: note: ‘tau’ was declared here
    8 |         int *kVector, *tau;
      |                        ^~~
gcc-13 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c registerDynamicSymbol.c -o registerDynamicSymbol.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DR_NO_REMAP -fpic  -g -O2 -Wall -pedantic -mtune=native   -c updateMatrices.cpp -o updateMatrices.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:30,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
                 from calcBATS.h:35,
                 from updateMatrices.cpp:8:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined
   26 | #define R_NO_REMAP
      | 
<command-line>: note: this is the location of the previous definition
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DR_NO_REMAP -fpic  -g -O2 -Wall -pedantic -mtune=native   -c updateTBATSMatrices.cpp -o updateTBATSMatrices.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:30,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
                 from calcBATS.h:35,
                 from updateTBATSMatrices.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined
   26 | #define R_NO_REMAP
      | 
<command-line>: note: this is the location of the previous definition
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o forecast.so calcBATS.o calcTBATS.o etsTargetFunction.o etsTargetFunctionWrapper.o etscalc.o etspolyroot.o makeBATSMatrices.o makeTBATSMatrices.o registerDynamicSymbol.o updateMatrices.o updateTBATSMatrices.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpNy8LiG/R.INSTALL1bbd042bd6198/forecast/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpNy8LiG/R.INSTALL1bbd042bd6198/forecast/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpNy8LiG/R.INSTALL1bbd042bd6198/forecast/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-forecast/00new/forecast/libs
** R
** data
*** moving datasets to lazyload DB
** 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 (forecast)