* installing *source* package 'ATAforecasting' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.2.0' using C++ compiler: 'g++.exe (GCC) 12.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../inst/include -I. -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ATA.cpp -o ATA.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:1615:54: warning: 'T_1' may be used uninitialized [-Wmaybe-uninitialized] 1615 | 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:1615:29: warning: 'S_1' may be used uninitialized [-Wmaybe-uninitialized] 1615 | T = coefqk * (1.0 * S / S_1) + (1-coefqk) * 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 'double SubATACore(Rcpp::NumericVector, int, int, double, int, int, int, int, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, int)': ATA.cpp:627:56: warning: 'T_1' may be used uninitialized [-Wmaybe-uninitialized] 627 | T = coefqk * (1.0 * S / S_1) + (1-coefqk) * pow(T_1, IZPHI); | ~~~^~~~~~~~~~~~ ATA.cpp:284:49: note: 'T_1' was declared here 284 | double coefpk, coefqk, Xobs, Xlag, S, T, S_1, T_1, T_0; | ^~~ ATA.cpp:627:31: warning: 'S_1' may be used uninitialized [-Wmaybe-uninitialized] 627 | T = coefqk * (1.0 * S / S_1) + (1-coefqk) * pow(T_1, IZPHI); | ~~~~~~~~~^~~~~~ ATA.cpp:284:44: note: 'S_1' was declared here 284 | double coefpk, coefqk, Xobs, Xlag, 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: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: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: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: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: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: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: In function 'double SubATACoreHoldout(Rcpp::NumericVector, int, int, double, int, int, int, int, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, int)': ATA.cpp:1126:54: warning: 'T_1' may be used uninitialized [-Wmaybe-uninitialized] 1126 | 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:1126:29: warning: 'S_1' may be used uninitialized [-Wmaybe-uninitialized] 1126 | 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: 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: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: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: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: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: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: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: In function 'double SubATACoreHoldhin(Rcpp::NumericVector, int, int, double, int, int, int, int, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, int, int)': ATA.cpp:2002:56: warning: 'T_1' may be used uninitialized [-Wmaybe-uninitialized] 2002 | T = coefqk * (1.0 * S / S_1) + (1-coefqk) * pow(T_1, IZPHI); | ~~~^~~~~~~~~~~~ ATA.cpp:1655:49: note: 'T_1' was declared here 1655 | double coefpk, coefqk, Xobs, Xlag, S, T, S_1, T_1, T_0; | ^~~ ATA.cpp:2002:31: warning: 'S_1' may be used uninitialized [-Wmaybe-uninitialized] 2002 | T = coefqk * (1.0 * S / S_1) + (1-coefqk) * pow(T_1, IZPHI); | ~~~~~~~~~^~~~~~ ATA.cpp:1655:44: note: 'S_1' was declared here 1655 | double coefpk, coefqk, Xobs, Xlag, S, T, S_1, T_1, T_0; | ^~~ 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: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; | ^~~~~~~~~~ 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: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: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: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: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; | ^~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ATAforecasting_init.c -o ATAforecasting_init.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../inst/include -I. -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -shared -s -static-libgcc -o ATAforecasting.dll tmp.def ATA.o ATAforecasting_init.o RcppExports.o -fopenmp -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/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/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-ATAforecasting/00new/ATAforecasting/libs/x64 ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (ATAforecasting)