* installing *source* package ‘shrinkDSM’ ...
** this is package ‘shrinkDSM’ version ‘1.0.0’
** package ‘shrinkDSM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/shrinkDSM/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_WARN_LEVEL=0 -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/stochvol/include' -I'/data/gannet/ripley/R/test-dev/shrinkTVP/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_WARN_LEVEL=0 -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/stochvol/include' -I'/data/gannet/ripley/R/test-dev/shrinkTVP/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c do_shrinkDSM.cpp -o do_shrinkDSM.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_WARN_LEVEL=0 -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/stochvol/include' -I'/data/gannet/ripley/R/test-dev/shrinkTVP/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c init.cpp -o init.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_WARN_LEVEL=0 -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/stochvol/include' -I'/data/gannet/ripley/R/test-dev/shrinkTVP/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c sample_beta_McCausland.cpp -o sample_beta_McCausland.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DARMA_WARN_LEVEL=0 -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I'/data/gannet/ripley/R/test-dev/stochvol/include' -I'/data/gannet/ripley/R/test-dev/shrinkTVP/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c sample_parameters.cpp -o sample_parameters.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:
/data/gannet/ripley/R/test-dev/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++17 -shared -L/usr/local/lib64 -o shrinkDSM.so RcppExports.o do_shrinkDSM.o init.o sample_beta_McCausland.o sample_parameters.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/shrinkDSM/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/shrinkDSM/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/shrinkDSM/src'
installing to /data/gannet/ripley/R/packages/tests-devel/shrinkDSM.Rcheck/00LOCK-shrinkDSM/00new/shrinkDSM/libs
** 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
** 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)