* installing *source* package 'braggR' ...
** package 'braggR' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_11_19_01_50_00_21579/RtmpkPoCBJ/R.INSTALL2602040351d50/braggR/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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++ -std=gnu++17 -shared -s -static-libgcc -o braggR.dll tmp.def RcppExports.o RegBayes.o -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_11_19_01_50_00_21579/RtmpkPoCBJ/R.INSTALL2602040351d50/braggR/src'
make[1]: Entering directory '/d/temp/2024_11_19_01_50_00_21579/RtmpkPoCBJ/R.INSTALL2602040351d50/braggR/src'
make[1]: Leaving directory '/d/temp/2024_11_19_01_50_00_21579/RtmpkPoCBJ/R.INSTALL2602040351d50/braggR/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-braggR/00new/braggR/libs/x64
** 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
** 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 'braggR' as braggR_0.1.1.zip
* DONE (braggR)