* installing *source* package 'shrinkDSM' ...
** package 'shrinkDSM' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
using C++11
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpkDyE1z/R.INSTALL1a9b0756c2bbc/shrinkDSM/src'
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_NO_DEBUG -DARMA_WARN_LEVEL=0 -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/stochvol/include' -I'D:/RCompile/CRANpkg/lib/4.4/shrinkTVP/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_NO_DEBUG -DARMA_WARN_LEVEL=0 -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/stochvol/include' -I'D:/RCompile/CRANpkg/lib/4.4/shrinkTVP/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c do_shrinkDSM.cpp -o do_shrinkDSM.o
In file included from do_shrinkDSM.cpp:9:
In function 'double shrinkTVP::TG_MH_step(double, double, double, const arma::vec&, const arma::vec&, double, double, bool, double, double, bool, bool, arma::vec&, double&, double, double, int&, int, int&)',
    inlined from 'Rcpp::List do_shrinkDSM(arma::vec, arma::mat, std::string, arma::vec, arma::vec, arma::vec, int, int, int, double, double, double, double, arma::vec, bool, bool, double, double, bool, bool, double, double, bool, bool, double, double, bool, bool, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool, arma::vec, arma::vec, arma::vec, arma::ivec, bool, Rcpp::List)' at do_shrinkDSM.cpp:744:45:
D:/RCompile/CRANpkg/lib/4.4/shrinkTVP/include/shrinkTVP.h:238:16: warning: 'e2_phi_samp' may be used uninitialized [-Wmaybe-uninitialized]
  238 |     return func(current_val,
      |            ~~~~^~~~~~~~~~~~~
  239 |                 c_tuning_par,
      |                 ~~~~~~~~~~~~~
  240 |                 scale_par,
      |                 ~~~~~~~~~~
  241 |                 scale_vec,
      |                 ~~~~~~~~~~
  242 |                 param_vec,
      |                 ~~~~~~~~~~
  243 |                 b,
      |                 ~~
  244 |                 nu,
      |                 ~~~
  245 |                 is_c,
      |                 ~~~~~
  246 |                 scale_scale,
      |                 ~~~~~~~~~~~~
  247 |                 other_hyp,
      |                 ~~~~~~~~~~
  248 |                 common_shrink_par,
      |                 ~~~~~~~~~~~~~~~~~~
  249 |                 adaptive,
      |                 ~~~~~~~~~
  250 |                 batch,
      |                 ~~~~~~
  251 |                 curr_sd,
      |                 ~~~~~~~~
  252 |                 target_rate,
      |                 ~~~~~~~~~~~~
  253 |                 max_adapt,
      |                 ~~~~~~~~~~
  254 |                 batch_nr,
      |                 ~~~~~~~~~
  255 |                 batch_size,
      |                 ~~~~~~~~~~~
  256 |                 batch_pos);
      |                 ~~~~~~~~~~
do_shrinkDSM.cpp: In function 'Rcpp::List do_shrinkDSM(arma::vec, arma::mat, std::string, arma::vec, arma::vec, arma::vec, int, int, int, double, double, double, double, arma::vec, bool, bool, double, double, bool, bool, double, double, bool, bool, double, double, bool, bool, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool, arma::vec, arma::vec, arma::vec, arma::ivec, bool, Rcpp::List)':
do_shrinkDSM.cpp:418:10: note: 'e2_phi_samp' was declared here
  418 |   double e2_phi_samp;
      |          ^~~~~~~~~~~
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_NO_DEBUG -DARMA_WARN_LEVEL=0 -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/stochvol/include' -I'D:/RCompile/CRANpkg/lib/4.4/shrinkTVP/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.cpp -o init.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_NO_DEBUG -DARMA_WARN_LEVEL=0 -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/stochvol/include' -I'D:/RCompile/CRANpkg/lib/4.4/shrinkTVP/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c sample_beta_McCausland.cpp -o sample_beta_McCausland.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_NO_DEBUG -DARMA_WARN_LEVEL=0 -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.4/stochvol/include' -I'D:/RCompile/CRANpkg/lib/4.4/shrinkTVP/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c sample_parameters.cpp -o sample_parameters.o
g++ -shared -s -static-libgcc -o shrinkDSM.dll tmp.def RcppExports.o do_shrinkDSM.o init.o sample_beta_McCausland.o sample_parameters.o -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.2/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpkDyE1z/R.INSTALL1a9b0756c2bbc/shrinkDSM/src'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpkDyE1z/R.INSTALL1a9b0756c2bbc/shrinkDSM/src'
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpkDyE1z/R.INSTALL1a9b0756c2bbc/shrinkDSM/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-shrinkDSM/00new/shrinkDSM/libs/x64
** R
** data
*** moving datasets to lazyload DB
** 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
* MD5 sums
packaged installation of 'shrinkDSM' as shrinkDSM_0.2.0.zip
* DONE (shrinkDSM)