* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘shrinkDSM’ ...
** package ‘shrinkDSM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’
using C++11
make[1]: Entering directory '/tmp/RtmpLpHwlY/R.INSTALL9a5273740dde3/shrinkDSM/src'
g++-13 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_WARN_LEVEL=0 -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/stochvol/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/shrinkTVP/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_WARN_LEVEL=0 -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/stochvol/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/shrinkTVP/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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++-13 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_WARN_LEVEL=0 -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/stochvol/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/shrinkTVP/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c init.cpp -o init.o
g++-13 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_WARN_LEVEL=0 -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/stochvol/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/shrinkTVP/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c sample_beta_McCausland.cpp -o sample_beta_McCausland.o
g++-13 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_WARN_LEVEL=0 -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/stochvol/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/shrinkTVP/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c sample_parameters.cpp -o sample_parameters.o
g++-13 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o shrinkDSM.so RcppExports.o do_shrinkDSM.o init.o sample_beta_McCausland.o sample_parameters.o -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpLpHwlY/R.INSTALL9a5273740dde3/shrinkDSM/src'
make[1]: Entering directory '/tmp/RtmpLpHwlY/R.INSTALL9a5273740dde3/shrinkDSM/src'
make[1]: Leaving directory '/tmp/RtmpLpHwlY/R.INSTALL9a5273740dde3/shrinkDSM/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-shrinkDSM/00new/shrinkDSM/libs
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘shrinkDSM’
    finding HTML links ... done
    divisionpoints                          html  
    gastric                                 html  
    plot.mcmc.dsm.tvp                       html  
    plot.shrinkDSM                          html  
    plot.shrinkDSM_pred                     html  
    predict.shrinkDSM                       html  
    prep_tvinput                            html  
    print.shrinkDSM                         html  
    shrinkDSM                               html  
    finding level-2 HTML links ... done

** 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 (shrinkDSM)