* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘braggR’ ...
** package ‘braggR’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMXyDeO/R.INSTALL3d58a974f70ba9/braggR/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o braggR.so RcppExports.o RegBayes.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMXyDeO/R.INSTALL3d58a974f70ba9/braggR/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMXyDeO/R.INSTALL3d58a974f70ba9/braggR/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMXyDeO/R.INSTALL3d58a974f70ba9/braggR/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-braggR/00new/braggR/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘braggR’
    finding HTML links ... done
    sample_aggregator                       html  
** 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)