* installing *source* package ‘braggR’ ...
** package ‘braggR’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/braggR/src'
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/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++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/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 RegBayes.cpp -o RegBayes.o
RegBayes.cpp: In function 'Rcpp::NumericMatrix sample_parameters_cpp(Rcpp::NumericVector, double, double, double, double, double, int, int)':
RegBayes.cpp:99:29: warning: 'mu0' may be used uninitialized [-Wmaybe-uninitialized]
   99 |     u_log_lik = logposterior(P, rhos[iter-1], gammas[iter-1], deltas[iter-1],
      |                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  100 |                              mu0, sum_P, sum_P2, sum_P_outer, sum_P_outer_plus, N,
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  101 |                              a, b);
      |                              ~~~~~
RegBayes.cpp:42:10: note: 'mu0' was declared here
   42 |   double mu0;
      |          ^~~
RegBayes.cpp:141:16: warning: 'rho_cand' may be used uninitialized [-Wmaybe-uninitialized]
  141 |     rhos[iter] = rho_cand;
RegBayes.cpp:82:10: note: 'rho_cand' was declared here
   82 |   double rho_cand, delta_cand, gamma_cand;
      |          ^~~~~~~~
RegBayes.cpp:142:18: warning: 'delta_cand' may be used uninitialized [-Wmaybe-uninitialized]
  142 |     deltas[iter] = delta_cand;
RegBayes.cpp:82:20: note: 'delta_cand' was declared here
   82 |   double rho_cand, delta_cand, gamma_cand;
      |                    ^~~~~~~~~~
RegBayes.cpp:145:26: warning: 'gamma_cand' may be used uninitialized [-Wmaybe-uninitialized]
  145 |     mu_cond = mu0 +  sqrt(1-gamma_cand)*gamma_cand / (delta_cand + (N-1)*rho_cand) * (sum_P - N*mu0 / sqrt(1-gamma_cand));
      |                      ~~~~^~~~~~~~~~~~~~
RegBayes.cpp:82:32: note: 'gamma_cand' was declared here
   82 |   double rho_cand, delta_cand, gamma_cand;
      |                                ^~~~~~~~~~
g++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o braggR.so RcppExports.o RegBayes.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/braggR/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/braggR/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/braggR/src'
installing to /data/gannet/ripley/R/packages/tests-devel/braggR.Rcheck/00LOCK-braggR/00new/braggR/libs
** R
** 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
** 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 (braggR)