* installing *source* package 'forecast' ...
** package 'forecast' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 12.3.0'
using C++ compiler: 'g++.exe (GCC) 12.3.0'
make[1]: Entering directory '/d/temp/2024_11_13_01_50_00_32639/Rtmp2PMlAz/R.INSTALL307a42e476ab5/forecast/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c calcBATS.cpp -o calcBATS.o
calcBATS.cpp: In function 'SEXPREC* calcBATSFaster(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
calcBATS.cpp:56:17: warning: 'lengthSeasonal' may be used uninitialized [-Wmaybe-uninitialized]
   56 |         R_len_t lengthSeasonal;
      |                 ^~~~~~~~~~~~~~
calcBATS.cpp:55:60: warning: 'sPeriods' may be used uninitialized [-Wmaybe-uninitialized]
   55 |         int adjBeta, previousS, lengthArma, *tau, *p, *q, *sPeriods;
      |                                                            ^~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c calcTBATS.cpp -o calcTBATS.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c etsTargetFunction.cpp -o etsTargetFunction.o
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 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 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 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 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 long unsigned int'} [-Wsign-compare]
  298 |                 for(int i=0;i<zeror.size();i++) {
      |                             ~^~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c etsTargetFunctionWrapper.cpp -o etsTargetFunctionWrapper.o
gcc  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c etspolyroot.c -o etspolyroot.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c makeBATSMatrices.cpp -o makeBATSMatrices.o
makeBATSMatrices.cpp: In function 'SEXPREC* makeBATSGMatrix(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
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;
      |              ^~~~~~~~~~~~~~~
makeBATSMatrices.cpp:138:76: warning: 'gammaVector' may be used uninitialized [-Wmaybe-uninitialized]
  138 |                                 gTranspose(0, position) = gammaVector[(s+1)];
      |                                                           ~~~~~~~~~~~~~~~~~^
makeBATSMatrices.cpp:92:17: note: 'gammaVector' was declared here
   92 |         double *gammaVector;
      |                 ^~~~~~~~~~~
makeBATSMatrices.cpp: In function 'SEXPREC* makeBATSWMatrix(SEXP, SEXP, SEXP, SEXP)':
makeBATSMatrices.cpp:70:99: warning: 'maCoefs' may be used uninitialized [-Wmaybe-uninitialized]
   70 |                                 wTranspose(0,(adjustPhi + lengthSeasonal + p + i)) = maCoefs[(i-1)];
      |                                                                                      ~~~~~~~~~~~~~^
makeBATSMatrices.cpp:7:38: note: 'maCoefs' was declared here
    7 |         double *smallPhi, *arCoefs, *maCoefs;
      |                                      ^~~~~~~
makeBATSMatrices.cpp:64:86: warning: 'arCoefs' may be used uninitialized [-Wmaybe-uninitialized]
   64 |                         wTranspose(0,(adjustPhi + lengthSeasonal +i)) = arCoefs[(i-1)];
      |                                                                         ~~~~~~~~~~~~~^
makeBATSMatrices.cpp:7:28: note: 'arCoefs' was declared here
    7 |         double *smallPhi, *arCoefs, *maCoefs;
      |                            ^~~~~~~
makeBATSMatrices.cpp:48:72: warning: 'seasonalPeriods' may be used uninitialized [-Wmaybe-uninitialized]
   48 |                                 position = position + seasonalPeriods[s];
      |                                                       ~~~~~~~~~~~~~~~~~^
makeBATSMatrices.cpp:8:14: note: 'seasonalPeriods' was declared here
    8 |         int *seasonalPeriods;
      |              ^~~~~~~~~~~~~~~
makeBATSMatrices.cpp:58:35: warning: 'smallPhi' may be used uninitialized [-Wmaybe-uninitialized]
   58 |                 wTranspose(0,1) = *smallPhi;
      |                                   ^~~~~~~~~
makeBATSMatrices.cpp:7:17: note: 'smallPhi' was declared here
    7 |         double *smallPhi, *arCoefs, *maCoefs;
      |                 ^~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c makeTBATSMatrices.cpp -o makeTBATSMatrices.o
makeTBATSMatrices.cpp: In function 'SEXPREC* makeTBATSWMatrix(SEXP, SEXP, SEXP, SEXP, SEXP)':
makeTBATSMatrices.cpp:67:89: warning: 'maCoefs' may be used uninitialized [-Wmaybe-uninitialized]
   67 |                                 wTranspose(0,(adjustPhi + *tau + p + i)) = maCoefs[(i-1)];
      |                                                                            ~~~~~~~~~~~~~^
makeTBATSMatrices.cpp:7:38: note: 'maCoefs' was declared here
    7 |         double *smallPhi, *arCoefs, *maCoefs;
      |                                      ^~~~~~~
makeTBATSMatrices.cpp:61:76: warning: 'arCoefs' may be used uninitialized [-Wmaybe-uninitialized]
   61 |                         wTranspose(0,(adjustPhi + *tau +i)) = arCoefs[(i-1)];
      |                                                               ~~~~~~~~~~~~~^
makeTBATSMatrices.cpp:7:28: note: 'arCoefs' was declared here
    7 |         double *smallPhi, *arCoefs, *maCoefs;
      |                            ^~~~~~~
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;
      |                        ^~~
makeTBATSMatrices.cpp:8:14: warning: 'kVector' may be used uninitialized [-Wmaybe-uninitialized]
    8 |         int *kVector, *tau;
      |              ^~~~~~~
makeTBATSMatrices.cpp:56:35: warning: 'smallPhi' may be used uninitialized [-Wmaybe-uninitialized]
   56 |                 wTranspose(0,1) = *smallPhi;
      |                                   ^~~~~~~~~
makeTBATSMatrices.cpp:7:17: note: 'smallPhi' was declared here
    7 |         double *smallPhi, *arCoefs, *maCoefs;
      |                 ^~~~~~~~
gcc  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c registerDynamicSymbol.c -o registerDynamicSymbol.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c updateMatrices.cpp -o updateMatrices.o
updateMatrices.cpp: In function 'SEXPREC* updateFMatrix(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
updateMatrices.cpp:80:93: warning: 'beta' may be used uninitialized [-Wmaybe-uninitialized]
   80 |                         F.submat(1,(betaAdjust+ *tau+p+1),1,(betaAdjust+ *tau+p+q)) = *beta * ma;
      |                                                                                       ~~~~~~^~~~
updateMatrices.cpp:18:17: note: 'beta' was declared here
   18 |         double *beta, *alpha = &REAL(alpha_s)[0];
      |                 ^~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c updateTBATSMatrices.cpp -o updateTBATSMatrices.o
g++ -std=gnu++17 -shared -s -static-libgcc -o forecast.dll tmp.def calcBATS.o calcTBATS.o etsTargetFunction.o etsTargetFunctionWrapper.o etscalc.o etspolyroot.o makeBATSMatrices.o makeTBATSMatrices.o registerDynamicSymbol.o updateMatrices.o updateTBATSMatrices.o -fopenmp -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_11_13_01_50_00_32639/Rtmp2PMlAz/R.INSTALL307a42e476ab5/forecast/src'
make[1]: Entering directory '/d/temp/2024_11_13_01_50_00_32639/Rtmp2PMlAz/R.INSTALL307a42e476ab5/forecast/src'
make[1]: Leaving directory '/d/temp/2024_11_13_01_50_00_32639/Rtmp2PMlAz/R.INSTALL307a42e476ab5/forecast/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-forecast/00new/forecast/libs/x64
** 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
** 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 'forecast' as forecast_8.23.0.zip
* DONE (forecast)