* installing *source* package 'spOccupancy' ...
** package 'spOccupancy' 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_12_15_01_50_00_17345/RtmpyY5DP2/R.INSTALL12ec015d47a9/spOccupancy/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c PGOcc.cpp -o PGOcc.o
PGOcc.cpp: In function 'SEXPREC* PGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
PGOcc.cpp:573:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  573 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
PGOcc.cpp:183:10: note: 'sigmaSqPSamples_r' was declared here
  183 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
PGOcc.cpp:575:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  575 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
PGOcc.cpp:184:10: note: 'alphaStarSamples_r' was declared here
  184 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
PGOcc.cpp:567:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  567 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
PGOcc.cpp:192:10: note: 'sigmaSqPsiSamples_r' was declared here
  192 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
PGOcc.cpp:569:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  569 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
PGOcc.cpp:193:10: note: 'betaStarSamples_r' was declared here
  193 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
PGOcc.cpp:650:42: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
  650 |       SET_VECTOR_ELT(resultName_r, tmp_0 + 1, Rf_mkChar("beta.star.samples"));
      |                                    ~~~~~~^~~
PGOcc.cpp:212:12: note: 'tmp_0' was declared here
  212 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c idist.cpp -o idist.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.cpp -o init.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c intMsPGOcc.cpp -o intMsPGOcc.o
intMsPGOcc.cpp: In function 'SEXPREC* intMsPGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
intMsPGOcc.cpp:697:61: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  697 |             F77_NAME(dcopy)(&pOccRE, sigmaSqPsi, &inc, &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                                         ~~~~^~~~~~~~~~~~~~~~~~~~~
intMsPGOcc.cpp:238:10: note: 'sigmaSqPsiSamples_r' was declared here
  238 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
intMsPGOcc.cpp:698:60: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  698 |             F77_NAME(dcopy)(&nOccREN, betaStar, &inc, &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                                        ~~~~^~~~~~~~~~~~~~~~~~~
intMsPGOcc.cpp:239:10: note: 'betaStarSamples_r' was declared here
  239 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
intMsPGOcc.cpp:780:42: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
  780 |       SET_VECTOR_ELT(resultName_r, tmp_0 + 1, Rf_mkChar("beta.star.samples"));
      |                                    ~~~~~~^~~
intMsPGOcc.cpp:164:12: note: 'tmp_0' was declared here
  164 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c intPGOcc.cpp -o intPGOcc.o
intPGOcc.cpp: In function 'SEXPREC* intPGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
intPGOcc.cpp:645:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  645 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
intPGOcc.cpp:212:10: note: 'sigmaSqPSamples_r' was declared here
  212 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
intPGOcc.cpp:647:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  647 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
intPGOcc.cpp:213:10: note: 'alphaStarSamples_r' was declared here
  213 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
intPGOcc.cpp:639:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  639 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
intPGOcc.cpp:221:10: note: 'sigmaSqPsiSamples_r' was declared here
  221 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
intPGOcc.cpp:641:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  641 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
intPGOcc.cpp:222:10: note: 'betaStarSamples_r' was declared here
  222 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c lfJSDM.cpp -o lfJSDM.o
lfJSDM.cpp: In function 'SEXPREC* lfJSDM(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
lfJSDM.cpp:264:21: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  264 |       SET_VECTOR_ELT(result_r, 8, sigmaSqPsiSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lfJSDM.cpp:230:10: note: 'sigmaSqPsiSamples_r' was declared here
  230 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
lfJSDM.cpp:265:21: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  265 |       SET_VECTOR_ELT(result_r, 9, betaStarSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lfJSDM.cpp:231:10: note: 'betaStarSamples_r' was declared here
  231 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c lfMsPGOcc.cpp -o lfMsPGOcc.o
lfMsPGOcc.cpp: In function 'SEXPREC* lfMsPGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
lfMsPGOcc.cpp:926:59: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  926 |             F77_NAME(dcopy)(&pDetRE, sigmaSqP, &inc, &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                                                       ~~~~^~~~~~~~~~~~~~~~~~~
lfMsPGOcc.cpp:280:10: note: 'sigmaSqPSamples_r' was declared here
  280 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
lfMsPGOcc.cpp:927:61: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  927 |             F77_NAME(dcopy)(&nDetREN, alphaStar, &inc, &REAL(alphaStarSamples_r)[sPost*nDetREN], &inc);
      |                                                         ~~~~^~~~~~~~~~~~~~~~~~~~
lfMsPGOcc.cpp:281:10: note: 'alphaStarSamples_r' was declared here
  281 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
lfMsPGOcc.cpp:930:61: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  930 |             F77_NAME(dcopy)(&pOccRE, sigmaSqPsi, &inc, &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                                         ~~~~^~~~~~~~~~~~~~~~~~~~~
lfMsPGOcc.cpp:289:10: note: 'sigmaSqPsiSamples_r' was declared here
  289 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
lfMsPGOcc.cpp:931:60: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  931 |             F77_NAME(dcopy)(&nOccREN, betaStar, &inc, &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                                        ~~~~^~~~~~~~~~~~~~~~~~~
lfMsPGOcc.cpp:290:10: note: 'betaStarSamples_r' was declared here
  290 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
lfMsPGOcc.cpp:1023:42: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
 1023 |       SET_VECTOR_ELT(resultName_r, tmp_0 + 1, Rf_mkChar("beta.star.samples"));
      |                                    ~~~~~~^~~
lfMsPGOcc.cpp:166:12: note: 'tmp_0' was declared here
  166 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c mkSpCov.cpp -o mkSpCov.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c msPGOcc.cpp -o msPGOcc.o
msPGOcc.cpp: In function 'SEXPREC* msPGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
msPGOcc.cpp:718:59: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  718 |             F77_NAME(dcopy)(&pDetRE, sigmaSqP, &inc, &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                                                       ~~~~^~~~~~~~~~~~~~~~~~~
msPGOcc.cpp:241:10: note: 'sigmaSqPSamples_r' was declared here
  241 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
msPGOcc.cpp:719:61: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  719 |             F77_NAME(dcopy)(&nDetREN, alphaStar, &inc, &REAL(alphaStarSamples_r)[sPost*nDetREN], &inc);
      |                                                         ~~~~^~~~~~~~~~~~~~~~~~~~
msPGOcc.cpp:242:10: note: 'alphaStarSamples_r' was declared here
  242 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
msPGOcc.cpp:722:61: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  722 |             F77_NAME(dcopy)(&pOccRE, sigmaSqPsi, &inc, &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                                         ~~~~^~~~~~~~~~~~~~~~~~~~~
msPGOcc.cpp:250:10: note: 'sigmaSqPsiSamples_r' was declared here
  250 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
msPGOcc.cpp:723:60: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  723 |             F77_NAME(dcopy)(&nOccREN, betaStar, &inc, &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                                        ~~~~^~~~~~~~~~~~~~~~~~~
msPGOcc.cpp:251:10: note: 'betaStarSamples_r' was declared here
  251 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
msPGOcc.cpp:804:42: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
  804 |       SET_VECTOR_ELT(resultName_r, tmp_0 + 1, Rf_mkChar("beta.star.samples"));
      |                                    ~~~~~~^~~
msPGOcc.cpp:156:12: note: 'tmp_0' was declared here
  156 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nn.cpp -o nn.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c postHocLM.cpp -o postHocLM.o
postHocLM.cpp: In function 'SEXPREC* postHocLM(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
postHocLM.cpp:292:26: warning: 'sigmaSqSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  292 |                     &REAL(sigmaSqSamples_r)[s*pRE], &inc);
      |                      ~~~~^~~~~~~~~~~~~~~~~~
postHocLM.cpp:114:10: note: 'sigmaSqSamples_r' was declared here
  114 |     SEXP sigmaSqSamples_r;
      |          ^~~~~~~~~~~~~~~~
postHocLM.cpp:294:26: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  294 |                     &REAL(betaStarSamples_r)[s*nRE], &inc);
      |                      ~~~~^~~~~~~~~~~~~~~~~~~
postHocLM.cpp:115:10: note: 'betaStarSamples_r' was declared here
  115 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rpg.cpp -o rpg.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c sfJSDMNNGP.cpp -o sfJSDMNNGP.o
sfJSDMNNGP.cpp: In function 'SEXPREC* sfJSDMNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
sfJSDMNNGP.cpp:978:59: warning: 'betaCommSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  978 |               F77_NAME(dcopy)(&pOcc, betaComm, &inc, &REAL(betaCommSamples_r)[sPost*pOcc], &inc);
      |                                                       ~~~~^~~~~~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:287:10: note: 'betaCommSamples_r' was declared here
  287 |     SEXP betaCommSamples_r;
      |          ^~~~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:981:60: warning: 'tauSqBetaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  981 |               F77_NAME(dcopy)(&pOcc, tauSqBeta, &inc, &REAL(tauSqBetaSamples_r)[sPost*pOcc], &inc);
      |                                                        ~~~~^~~~~~~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:292:10: note: 'tauSqBetaSamples_r' was declared here
  292 |     SEXP tauSqBetaSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:984:56: warning: 'betaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  984 |               F77_NAME(dcopy)(&pOccN, beta, &inc, &REAL(betaSamples_r)[sPost*pOccN], &inc);
      |                                                    ~~~~^~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:298:10: note: 'betaSamples_r' was declared here
  298 |     SEXP betaSamples_r;
      |          ^~~~~~~~~~~~~
sfJSDMNNGP.cpp:993:50: warning: 'zSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  993 |               F77_NAME(dcopy)(&JN, z, &inc, &REAL(zSamples_r)[sPost*JN], &inc);
      |                                              ~~~~^~~~~~~~~~~~
sfJSDMNNGP.cpp:305:10: note: 'zSamples_r' was declared here
  305 |     SEXP zSamples_r;
      |          ^~~~~~~~~~
sfJSDMNNGP.cpp:990:52: warning: 'psiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  990 |               F77_NAME(dcopy)(&JN, psi, &inc, &REAL(psiSamples_r)[sPost*JN], &inc);
      |                                                ~~~~^~~~~~~~~~~~~~
sfJSDMNNGP.cpp:310:10: note: 'psiSamples_r' was declared here
  310 |     SEXP psiSamples_r;
      |          ^~~~~~~~~~~~
sfJSDMNNGP.cpp:987:55: warning: 'lambdaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  987 |               F77_NAME(dcopy)(&Nq, lambda, &inc, &REAL(lambdaSamples_r)[sPost*Nq], &inc);
      |                                                   ~~~~^~~~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:316:10: note: 'lambdaSamples_r' was declared here
  316 |     SEXP lambdaSamples_r;
      |          ^~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:996:50: warning: 'wSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  996 |               F77_NAME(dcopy)(&Jq, w, &inc, &REAL(wSamples_r)[sPost*Jq], &inc);
      |                                              ~~~~^~~~~~~~~~~~
sfJSDMNNGP.cpp:321:10: note: 'wSamples_r' was declared here
  321 |     SEXP wSamples_r;
      |          ^~~~~~~~~~
sfJSDMNNGP.cpp:1007:65: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1007 |                 F77_NAME(dcopy)(&pOccRE, sigmaSqPsi, &inc, &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                                             ~~~~^~~~~~~~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:327:10: note: 'sigmaSqPsiSamples_r' was declared here
  327 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:1010:64: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1010 |                 F77_NAME(dcopy)(&nOccREN, betaStar, &inc, &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                                            ~~~~^~~~~~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:328:10: note: 'betaStarSamples_r' was declared here
  328 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:1014:54: warning: 'likeSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1014 |               F77_NAME(dcopy)(&JN, yWAIC, &inc, &REAL(likeSamples_r)[sPost*JN], &inc);
      |                                                  ~~~~^~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:340:10: note: 'likeSamples_r' was declared here
  340 |     SEXP likeSamples_r;
      |          ^~~~~~~~~~~~~
sfJSDMNNGP.cpp:1002:79: warning: 'thetaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1002 |                 F77_NAME(dcopy)(&nThetaqSave, &theta[phiIndx * q], &inc, &REAL(thetaSamples_r)[sPost*nThetaqSave], &inc);
      |                                                                           ~~~~^~~~~~~~~~~~~~~~
sfJSDMNNGP.cpp:429:10: note: 'thetaSamples_r' was declared here
  429 |     SEXP thetaSamples_r;
      |          ^~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c sfMsPGOccNNGP.cpp -o sfMsPGOccNNGP.o
sfMsPGOccNNGP.cpp: In function 'SEXPREC* sfMsPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
sfMsPGOccNNGP.cpp:1251:61: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1251 |               F77_NAME(dcopy)(&pDetRE, sigmaSqP, &inc, &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                                                         ~~~~^~~~~~~~~~~~~~~~~~~
sfMsPGOccNNGP.cpp:367:10: note: 'sigmaSqPSamples_r' was declared here
  367 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
sfMsPGOccNNGP.cpp:1252:63: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1252 |               F77_NAME(dcopy)(&nDetREN, alphaStar, &inc, &REAL(alphaStarSamples_r)[sPost*nDetREN], &inc);
      |                                                           ~~~~^~~~~~~~~~~~~~~~~~~~
sfMsPGOccNNGP.cpp:368:10: note: 'alphaStarSamples_r' was declared here
  368 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
sfMsPGOccNNGP.cpp:1255:63: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1255 |               F77_NAME(dcopy)(&pOccRE, sigmaSqPsi, &inc, &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                                           ~~~~^~~~~~~~~~~~~~~~~~~~~
sfMsPGOccNNGP.cpp:376:10: note: 'sigmaSqPsiSamples_r' was declared here
  376 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
sfMsPGOccNNGP.cpp:1256:62: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1256 |               F77_NAME(dcopy)(&nOccREN, betaStar, &inc, &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                                          ~~~~^~~~~~~~~~~~~~~~~~~
sfMsPGOccNNGP.cpp:377:10: note: 'betaStarSamples_r' was declared here
  377 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
sfMsPGOccNNGP.cpp:1374:21: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
 1374 |       SET_VECTOR_ELT(resultName_r, tmp_0, Rf_mkChar("sigma.sq.psi.samples"));
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sfMsPGOccNNGP.cpp:242:12: note: 'tmp_0' was declared here
  242 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c sfMsPGOccNNGPPredict.cpp -o sfMsPGOccNNGPPredict.o
sfMsPGOccNNGPPredict.cpp: In function 'SEXPREC* sfMsPGOccNNGPPredict(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
sfMsPGOccNNGPPredict.cpp:144:39: warning: 'nuIndx' may be used uninitialized [-Wmaybe-uninitialized]
  144 |           if(theta[s*nThetaq + nuIndx * q + ll] > nuMax[ll]){
      |                                ~~~~~~~^~~
sfMsPGOccNNGPPredict.cpp:109:26: note: 'nuIndx' was declared here
  109 |     int nTheta, phiIndx, nuIndx, sigmaSqIndx;
      |                          ^~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c spIntPGOcc.cpp -o spIntPGOcc.o
spIntPGOcc.cpp: In function 'SEXPREC* spIntPGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
spIntPGOcc.cpp:892:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  892 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
spIntPGOcc.cpp:242:10: note: 'sigmaSqPSamples_r' was declared here
  242 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spIntPGOcc.cpp:894:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  894 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
spIntPGOcc.cpp:243:10: note: 'alphaStarSamples_r' was declared here
  243 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
spIntPGOcc.cpp:886:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  886 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
spIntPGOcc.cpp:251:10: note: 'sigmaSqPsiSamples_r' was declared here
  251 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
spIntPGOcc.cpp:888:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  888 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
spIntPGOcc.cpp:252:10: note: 'betaStarSamples_r' was declared here
  252 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c spIntPGOccNNGP.cpp -o spIntPGOccNNGP.o
spIntPGOccNNGP.cpp: In function 'SEXPREC* spIntPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
spIntPGOccNNGP.cpp:938:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  938 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
spIntPGOccNNGP.cpp:291:10: note: 'sigmaSqPSamples_r' was declared here
  291 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spIntPGOccNNGP.cpp:940:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  940 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
spIntPGOccNNGP.cpp:292:10: note: 'alphaStarSamples_r' was declared here
  292 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
spIntPGOccNNGP.cpp:932:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  932 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
spIntPGOccNNGP.cpp:300:10: note: 'sigmaSqPsiSamples_r' was declared here
  300 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
spIntPGOccNNGP.cpp:934:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  934 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
spIntPGOccNNGP.cpp:301:10: note: 'betaStarSamples_r' was declared here
  301 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spIntPGOccNNGP.cpp:447:12: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized]
  447 |     double logDet;
      |            ^~~~~~
spIntPGOccNNGP.cpp:455:12: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  455 |     double a, v, b, e, mu, var, aij;
      |            ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c spMsPGOcc.cpp -o spMsPGOcc.o
spMsPGOcc.cpp: In function 'SEXPREC* spMsPGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
spMsPGOcc.cpp:1041:36: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1041 |                               &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~
spMsPGOcc.cpp:291:10: note: 'sigmaSqPSamples_r' was declared here
  291 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spMsPGOcc.cpp:1043:36: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1043 |                               &REAL(alphaStarSamples_r)[sPost*nDetREN], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~~
spMsPGOcc.cpp:292:10: note: 'alphaStarSamples_r' was declared here
  292 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
spMsPGOcc.cpp:1047:36: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1047 |                               &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~~~
spMsPGOcc.cpp:300:10: note: 'sigmaSqPsiSamples_r' was declared here
  300 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
spMsPGOcc.cpp:1049:36: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1049 |                               &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~
spMsPGOcc.cpp:301:10: note: 'betaStarSamples_r' was declared here
  301 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spMsPGOcc.cpp:1168:21: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
 1168 |       SET_VECTOR_ELT(resultName_r, tmp_0, Rf_mkChar("sigma.sq.psi.samples"));
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
spMsPGOcc.cpp:184:12: note: 'tmp_0' was declared here
  184 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c spMsPGOccNNGP.cpp -o spMsPGOccNNGP.o
spMsPGOccNNGP.cpp: In function 'SEXPREC* spMsPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
spMsPGOccNNGP.cpp:1079:36: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1079 |                               &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~
spMsPGOccNNGP.cpp:338:10: note: 'sigmaSqPSamples_r' was declared here
  338 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spMsPGOccNNGP.cpp:1081:36: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1081 |                               &REAL(alphaStarSamples_r)[sPost*nDetREN], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~~
spMsPGOccNNGP.cpp:339:10: note: 'alphaStarSamples_r' was declared here
  339 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
spMsPGOccNNGP.cpp:1085:36: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1085 |                               &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~~~
spMsPGOccNNGP.cpp:347:10: note: 'sigmaSqPsiSamples_r' was declared here
  347 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
spMsPGOccNNGP.cpp:1087:36: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1087 |                               &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~
spMsPGOccNNGP.cpp:348:10: note: 'betaStarSamples_r' was declared here
  348 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spMsPGOccNNGP.cpp:498:12: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized]
  498 |     double logDet;
      |            ^~~~~~
spMsPGOccNNGP.cpp:467:12: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  467 |     double a, v, b, e, mu, var, aij;
      |            ^
spMsPGOccNNGP.cpp:1207:21: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
 1207 |       SET_VECTOR_ELT(resultName_r, tmp_0, Rf_mkChar("sigma.sq.psi.samples"));
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
spMsPGOccNNGP.cpp:233:12: note: 'tmp_0' was declared here
  233 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c spMsPGOccNNGPPredict.cpp -o spMsPGOccNNGPPredict.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c spMsPGOccPredict.cpp -o spMsPGOccPredict.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c spPGOcc.cpp -o spPGOcc.o
spPGOcc.cpp: In function 'SEXPREC* spPGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
spPGOcc.cpp:807:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  807 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
spPGOcc.cpp:208:10: note: 'sigmaSqPSamples_r' was declared here
  208 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spPGOcc.cpp:809:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  809 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
spPGOcc.cpp:209:10: note: 'alphaStarSamples_r' was declared here
  209 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
spPGOcc.cpp:801:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  801 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
spPGOcc.cpp:217:10: note: 'sigmaSqPsiSamples_r' was declared here
  217 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
spPGOcc.cpp:803:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  803 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
spPGOcc.cpp:218:10: note: 'betaStarSamples_r' was declared here
  218 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spPGOcc.cpp:918:21: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
  918 |       SET_VECTOR_ELT(resultName_r, tmp_0, Rf_mkChar("sigma.sq.psi.samples"));
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
spPGOcc.cpp:238:12: note: 'tmp_0' was declared here
  238 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c spPGOccNNGP.cpp -o spPGOccNNGP.o
spPGOccNNGP.cpp: In function 'SEXPREC* spPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
spPGOccNNGP.cpp:887:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  887 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
spPGOccNNGP.cpp:262:10: note: 'sigmaSqPSamples_r' was declared here
  262 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spPGOccNNGP.cpp:889:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  889 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
spPGOccNNGP.cpp:263:10: note: 'alphaStarSamples_r' was declared here
  263 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
spPGOccNNGP.cpp:881:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  881 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
spPGOccNNGP.cpp:271:10: note: 'sigmaSqPsiSamples_r' was declared here
  271 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
spPGOccNNGP.cpp:883:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  883 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
spPGOccNNGP.cpp:272:10: note: 'betaStarSamples_r' was declared here
  272 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
spPGOccNNGP.cpp:703:9: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  703 | #pragma omp parallel for private (e, i, b) reduction(+:a)
      |         ^~~
spPGOccNNGP.cpp:400:12: note: 'a' was declared here
  400 |     double a, v, b, e, mu, var, aij;
      |            ^
spPGOccNNGP.cpp:998:21: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
  998 |       SET_VECTOR_ELT(resultName_r, tmp_0, Rf_mkChar("sigma.sq.psi.samples"));
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
spPGOccNNGP.cpp:292:12: note: 'tmp_0' was declared here
  292 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c spPGOccNNGPPredict.cpp -o spPGOccNNGPPredict.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c spPGOccPredict.cpp -o spPGOccPredict.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c stIntPGOccNNGP.cpp -o stIntPGOccNNGP.o
stIntPGOccNNGP.cpp: In function 'SEXPREC* stIntPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
stIntPGOccNNGP.cpp:1285:21: warning: 'etaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1285 |       SET_VECTOR_ELT(result_r, ar1Ind, etaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stIntPGOccNNGP.cpp:310:10: note: 'etaSamples_r' was declared here
  310 |     SEXP etaSamples_r;
      |          ^~~~~~~~~~~~
stIntPGOccNNGP.cpp:1178:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1178 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
stIntPGOccNNGP.cpp:319:10: note: 'sigmaSqPSamples_r' was declared here
  319 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
stIntPGOccNNGP.cpp:1180:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1180 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
stIntPGOccNNGP.cpp:320:10: note: 'alphaStarSamples_r' was declared here
  320 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
stIntPGOccNNGP.cpp:1172:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1172 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
stIntPGOccNNGP.cpp:328:10: note: 'sigmaSqPsiSamples_r' was declared here
  328 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
stIntPGOccNNGP.cpp:1174:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1174 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
stIntPGOccNNGP.cpp:329:10: note: 'betaStarSamples_r' was declared here
  329 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
stIntPGOccNNGP.cpp:528:13: warning: 'sigmaSqTIndx' may be used uninitialized [-Wmaybe-uninitialized]
  528 |       theta[sigmaSqTIndx] = REAL(ar1Vals_r)[5];
      |             ^~~~~~~~~~~~
stIntPGOccNNGP.cpp:474:47: note: 'sigmaSqTIndx' was declared here
  474 |     int nTheta, sigmaSqIndx, phiIndx, nuIndx, sigmaSqTIndx, rhoIndx;
      |                                               ^~~~~~~~~~~~
stIntPGOccNNGP.cpp:529:13: warning: 'rhoIndx' may be used uninitialized [-Wmaybe-uninitialized]
  529 |       theta[rhoIndx] = REAL(ar1Vals_r)[4];
      |             ^~~~~~~
stIntPGOccNNGP.cpp:474:61: note: 'rhoIndx' was declared here
  474 |     int nTheta, sigmaSqIndx, phiIndx, nuIndx, sigmaSqTIndx, rhoIndx;
      |                                                             ^~~~~~~
stIntPGOccNNGP.cpp:560:12: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized]
  560 |     double logDet;
      |            ^~~~~~
stIntPGOccNNGP.cpp:492:12: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  492 |     double a, v, b, e, mu, var, aij;
      |            ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c stMsPGOccNNGP.cpp -o stMsPGOccNNGP.o
stMsPGOccNNGP.cpp: In function 'SEXPREC* stMsPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
stMsPGOccNNGP.cpp:1510:61: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1510 |               F77_NAME(dcopy)(&pDetRE, sigmaSqP, &inc, &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                                                         ~~~~^~~~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:393:10: note: 'sigmaSqPSamples_r' was declared here
  393 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:1511:63: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1511 |               F77_NAME(dcopy)(&nDetREN, alphaStar, &inc, &REAL(alphaStarSamples_r)[sPost*nDetREN], &inc);
      |                                                           ~~~~^~~~~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:394:10: note: 'alphaStarSamples_r' was declared here
  394 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:1514:63: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1514 |               F77_NAME(dcopy)(&pOccRE, sigmaSqPsi, &inc, &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                                           ~~~~^~~~~~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:402:10: note: 'sigmaSqPsiSamples_r' was declared here
  402 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:1515:62: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1515 |               F77_NAME(dcopy)(&nOccREN, betaStar, &inc, &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                                          ~~~~^~~~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:403:10: note: 'betaStarSamples_r' was declared here
  403 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:1640:21: warning: 'etaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1640 |       SET_VECTOR_ELT(result_r, ar1Ind, etaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:417:10: note: 'etaSamples_r' was declared here
  417 |     SEXP etaSamples_r;
      |          ^~~~~~~~~~~~
stMsPGOccNNGP.cpp:1641:21: warning: 'ar1ThetaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1641 |       SET_VECTOR_ELT(result_r, ar1Ind + 1, ar1ThetaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:418:10: note: 'ar1ThetaSamples_r' was declared here
  418 |     SEXP ar1ThetaSamples_r;
      |          ^~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:1664:21: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
 1664 |       SET_VECTOR_ELT(resultName_r, tmp_0, Rf_mkChar("sigma.sq.psi.samples"));
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stMsPGOccNNGP.cpp:257:12: note: 'tmp_0' was declared here
  257 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c stPGOccNNGP.cpp -o stPGOccNNGP.o
stPGOccNNGP.cpp: In function 'SEXPREC* stPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
stPGOccNNGP.cpp:1224:21: warning: 'etaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1224 |       SET_VECTOR_ELT(result_r, ar1Ind, etaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stPGOccNNGP.cpp:291:10: note: 'etaSamples_r' was declared here
  291 |     SEXP etaSamples_r;
      |          ^~~~~~~~~~~~
stPGOccNNGP.cpp:1118:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1118 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
stPGOccNNGP.cpp:300:10: note: 'sigmaSqPSamples_r' was declared here
  300 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
stPGOccNNGP.cpp:1120:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1120 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
stPGOccNNGP.cpp:301:10: note: 'alphaStarSamples_r' was declared here
  301 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
stPGOccNNGP.cpp:1112:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1112 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
stPGOccNNGP.cpp:309:10: note: 'sigmaSqPsiSamples_r' was declared here
  309 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
stPGOccNNGP.cpp:1114:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1114 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
stPGOccNNGP.cpp:310:10: note: 'betaStarSamples_r' was declared here
  310 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
stPGOccNNGP.cpp:481:13: warning: 'sigmaSqTIndx' may be used uninitialized [-Wmaybe-uninitialized]
  481 |       theta[sigmaSqTIndx] = REAL(ar1Vals_r)[5];
      |             ^~~~~~~~~~~~
stPGOccNNGP.cpp:427:47: note: 'sigmaSqTIndx' was declared here
  427 |     int nTheta, sigmaSqIndx, phiIndx, nuIndx, sigmaSqTIndx, rhoIndx;
      |                                               ^~~~~~~~~~~~
stPGOccNNGP.cpp:482:13: warning: 'rhoIndx' may be used uninitialized [-Wmaybe-uninitialized]
  482 |       theta[rhoIndx] = REAL(ar1Vals_r)[4];
      |             ^~~~~~~
stPGOccNNGP.cpp:427:61: note: 'rhoIndx' was declared here
  427 |     int nTheta, sigmaSqIndx, phiIndx, nuIndx, sigmaSqTIndx, rhoIndx;
      |                                                             ^~~~~~~
stPGOccNNGP.cpp:513:12: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized]
  513 |     double logDet;
      |            ^~~~~~
stPGOccNNGP.cpp:445:12: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  445 |     double a, v, b, e, mu, var, aij;
      |            ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c stPGOccNNGPPredict.cpp -o stPGOccNNGPPredict.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcMsPGOccNNGP.cpp -o svcMsPGOccNNGP.o
svcMsPGOccNNGP.cpp: In function 'SEXPREC* svcMsPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
svcMsPGOccNNGP.cpp:1327:61: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1327 |               F77_NAME(dcopy)(&pDetRE, sigmaSqP, &inc, &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                                                         ~~~~^~~~~~~~~~~~~~~~~~~
svcMsPGOccNNGP.cpp:373:10: note: 'sigmaSqPSamples_r' was declared here
  373 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcMsPGOccNNGP.cpp:1328:63: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1328 |               F77_NAME(dcopy)(&nDetREN, alphaStar, &inc, &REAL(alphaStarSamples_r)[sPost*nDetREN], &inc);
      |                                                           ~~~~^~~~~~~~~~~~~~~~~~~~
svcMsPGOccNNGP.cpp:374:10: note: 'alphaStarSamples_r' was declared here
  374 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
svcMsPGOccNNGP.cpp:1331:63: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1331 |               F77_NAME(dcopy)(&pOccRE, sigmaSqPsi, &inc, &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                                           ~~~~^~~~~~~~~~~~~~~~~~~~~
svcMsPGOccNNGP.cpp:382:10: note: 'sigmaSqPsiSamples_r' was declared here
  382 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
svcMsPGOccNNGP.cpp:1332:62: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1332 |               F77_NAME(dcopy)(&nOccREN, betaStar, &inc, &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                                          ~~~~^~~~~~~~~~~~~~~~~~~
svcMsPGOccNNGP.cpp:383:10: note: 'betaStarSamples_r' was declared here
  383 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcMsPGOccNNGP.cpp:1451:21: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
 1451 |       SET_VECTOR_ELT(resultName_r, tmp_0, Rf_mkChar("sigma.sq.psi.samples"));
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svcMsPGOccNNGP.cpp:249:12: note: 'tmp_0' was declared here
  249 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcMsPGOccNNGPPredict.cpp -o svcMsPGOccNNGPPredict.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcPGBinomNNGP.cpp -o svcPGBinomNNGP.o
svcPGBinomNNGP.cpp: In function 'SEXPREC* svcPGBinomNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
svcPGBinomNNGP.cpp:730:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  730 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
svcPGBinomNNGP.cpp:240:10: note: 'sigmaSqPsiSamples_r' was declared here
  240 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
svcPGBinomNNGP.cpp:732:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  732 |                             &REAL(betaStarSamples_r)[sPost*nRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
svcPGBinomNNGP.cpp:241:10: note: 'betaStarSamples_r' was declared here
  241 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcPGBinomNNGP.cpp:582:9: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized]
  582 | #pragma omp parallel for private (e, i, b) reduction(+:aa, logDet)
      |         ^~~
svcPGBinomNNGP.cpp:324:12: note: 'logDet' was declared here
  324 |     double logDet;
      |            ^~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcPGOccNNGP.cpp -o svcPGOccNNGP.o
svcPGOccNNGP.cpp: In function 'SEXPREC* svcPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
svcPGOccNNGP.cpp:982:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  982 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
svcPGOccNNGP.cpp:278:10: note: 'sigmaSqPSamples_r' was declared here
  278 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcPGOccNNGP.cpp:984:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  984 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
svcPGOccNNGP.cpp:279:10: note: 'alphaStarSamples_r' was declared here
  279 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
svcPGOccNNGP.cpp:976:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  976 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
svcPGOccNNGP.cpp:287:10: note: 'sigmaSqPsiSamples_r' was declared here
  287 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
svcPGOccNNGP.cpp:978:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  978 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
svcPGOccNNGP.cpp:288:10: note: 'betaStarSamples_r' was declared here
  288 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcPGOccNNGP.cpp:794:9: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized]
  794 | #pragma omp parallel for private (e, i, b) reduction(+:aa, logDet)
      |         ^~~
svcPGOccNNGP.cpp:408:12: note: 'logDet' was declared here
  408 |     double logDet;
      |            ^~~~~~
svcPGOccNNGP.cpp:1096:21: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
 1096 |       SET_VECTOR_ELT(resultName_r, tmp_0, Rf_mkChar("sigma.sq.psi.samples"));
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svcPGOccNNGP.cpp:308:12: note: 'tmp_0' was declared here
  308 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcPGOccNNGPPredict.cpp -o svcPGOccNNGPPredict.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcTIntPGOccNNGP.cpp -o svcTIntPGOccNNGP.o
svcTIntPGOccNNGP.cpp: In function 'SEXPREC* svcTIntPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
svcTIntPGOccNNGP.cpp:1373:21: warning: 'etaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1373 |       SET_VECTOR_ELT(result_r, ar1Ind, etaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:318:10: note: 'etaSamples_r' was declared here
  318 |     SEXP etaSamples_r;
      |          ^~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:1249:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1249 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:327:10: note: 'sigmaSqPSamples_r' was declared here
  327 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:1251:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1251 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:328:10: note: 'alphaStarSamples_r' was declared here
  328 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:1243:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1243 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:336:10: note: 'sigmaSqPsiSamples_r' was declared here
  336 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:1245:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1245 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:337:10: note: 'betaStarSamples_r' was declared here
  337 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:565:13: warning: 'sigmaSqTIndx' may be used uninitialized [-Wmaybe-uninitialized]
  565 |       theta[sigmaSqTIndx] = REAL(ar1Vals_r)[5];
      |             ^~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:486:47: note: 'sigmaSqTIndx' was declared here
  486 |     int nTheta, sigmaSqIndx, phiIndx, nuIndx, sigmaSqTIndx, rhoIndx;
      |                                               ^~~~~~~~~~~~
svcTIntPGOccNNGP.cpp:566:13: warning: 'rhoIndx' may be used uninitialized [-Wmaybe-uninitialized]
  566 |       theta[rhoIndx] = REAL(ar1Vals_r)[4];
      |             ^~~~~~~
svcTIntPGOccNNGP.cpp:486:61: note: 'rhoIndx' was declared here
  486 |     int nTheta, sigmaSqIndx, phiIndx, nuIndx, sigmaSqTIndx, rhoIndx;
      |                                                             ^~~~~~~
svcTIntPGOccNNGP.cpp:935:9: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized]
  935 | #pragma omp parallel for private (e, i, b) reduction(+:aa, logDet)
      |         ^~~
svcTIntPGOccNNGP.cpp:504:12: note: 'logDet' was declared here
  504 |     double logDet;
      |            ^~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcTMsPGOccNNGP.cpp -o svcTMsPGOccNNGP.o
svcTMsPGOccNNGP.cpp: In function 'SEXPREC* svcTMsPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
svcTMsPGOccNNGP.cpp:1632:61: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1632 |               F77_NAME(dcopy)(&pDetRE, sigmaSqP, &inc, &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                                                         ~~~~^~~~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:411:10: note: 'sigmaSqPSamples_r' was declared here
  411 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:1633:63: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1633 |               F77_NAME(dcopy)(&nDetREN, alphaStar, &inc, &REAL(alphaStarSamples_r)[sPost*nDetREN], &inc);
      |                                                           ~~~~^~~~~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:412:10: note: 'alphaStarSamples_r' was declared here
  412 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:1636:63: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1636 |               F77_NAME(dcopy)(&pOccRE, sigmaSqPsi, &inc, &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                                           ~~~~^~~~~~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:420:10: note: 'sigmaSqPsiSamples_r' was declared here
  420 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:1637:62: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1637 |               F77_NAME(dcopy)(&nOccREN, betaStar, &inc, &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                                          ~~~~^~~~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:421:10: note: 'betaStarSamples_r' was declared here
  421 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:1766:21: warning: 'etaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1766 |       SET_VECTOR_ELT(result_r, ar1Ind, etaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:435:10: note: 'etaSamples_r' was declared here
  435 |     SEXP etaSamples_r;
      |          ^~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:1767:21: warning: 'ar1ThetaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1767 |       SET_VECTOR_ELT(result_r, ar1Ind + 1, ar1ThetaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:436:10: note: 'ar1ThetaSamples_r' was declared here
  436 |     SEXP ar1ThetaSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:1790:21: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
 1790 |       SET_VECTOR_ELT(resultName_r, tmp_0, Rf_mkChar("sigma.sq.psi.samples"));
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svcTMsPGOccNNGP.cpp:271:12: note: 'tmp_0' was declared here
  271 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcTMsPGOccNNGPPredict.cpp -o svcTMsPGOccNNGPPredict.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcTPGBinomNNGP.cpp -o svcTPGBinomNNGP.o
svcTPGBinomNNGP.cpp: In function 'SEXPREC* svcTPGBinomNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
svcTPGBinomNNGP.cpp:952:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  952 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
svcTPGBinomNNGP.cpp:261:10: note: 'sigmaSqPsiSamples_r' was declared here
  261 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
svcTPGBinomNNGP.cpp:954:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  954 |                             &REAL(betaStarSamples_r)[sPost*nRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
svcTPGBinomNNGP.cpp:262:10: note: 'betaStarSamples_r' was declared here
  262 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcTPGBinomNNGP.cpp:1050:21: warning: 'etaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1050 |       SET_VECTOR_ELT(result_r, tmp_0, etaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svcTPGBinomNNGP.cpp:274:10: note: 'etaSamples_r' was declared here
  274 |     SEXP etaSamples_r;
      |          ^~~~~~~~~~~~
svcTPGBinomNNGP.cpp:681:9: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized]
  681 | #pragma omp parallel for private (e, i, b) reduction(+:aa, logDet)
      |         ^~~
svcTPGBinomNNGP.cpp:369:12: note: 'logDet' was declared here
  369 |     double logDet;
      |            ^~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcTPGOccNNGP.cpp -o svcTPGOccNNGP.o
svcTPGOccNNGP.cpp: In function 'SEXPREC* svcTPGOccNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
svcTPGOccNNGP.cpp:1330:21: warning: 'etaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1330 |       SET_VECTOR_ELT(result_r, ar1Ind, etaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svcTPGOccNNGP.cpp:300:10: note: 'etaSamples_r' was declared here
  300 |     SEXP etaSamples_r;
      |          ^~~~~~~~~~~~
svcTPGOccNNGP.cpp:1205:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1205 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
svcTPGOccNNGP.cpp:309:10: note: 'sigmaSqPSamples_r' was declared here
  309 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcTPGOccNNGP.cpp:1207:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1207 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
svcTPGOccNNGP.cpp:310:10: note: 'alphaStarSamples_r' was declared here
  310 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
svcTPGOccNNGP.cpp:1199:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1199 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
svcTPGOccNNGP.cpp:318:10: note: 'sigmaSqPsiSamples_r' was declared here
  318 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
svcTPGOccNNGP.cpp:1201:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1201 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
svcTPGOccNNGP.cpp:319:10: note: 'betaStarSamples_r' was declared here
  319 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
svcTPGOccNNGP.cpp:518:13: warning: 'sigmaSqTIndx' may be used uninitialized [-Wmaybe-uninitialized]
  518 |       theta[sigmaSqTIndx] = REAL(ar1Vals_r)[5];
      |             ^~~~~~~~~~~~
svcTPGOccNNGP.cpp:439:47: note: 'sigmaSqTIndx' was declared here
  439 |     int nTheta, sigmaSqIndx, phiIndx, nuIndx, sigmaSqTIndx, rhoIndx;
      |                                               ^~~~~~~~~~~~
svcTPGOccNNGP.cpp:519:13: warning: 'rhoIndx' may be used uninitialized [-Wmaybe-uninitialized]
  519 |       theta[rhoIndx] = REAL(ar1Vals_r)[4];
      |             ^~~~~~~
svcTPGOccNNGP.cpp:439:61: note: 'rhoIndx' was declared here
  439 |     int nTheta, sigmaSqIndx, phiIndx, nuIndx, sigmaSqTIndx, rhoIndx;
      |                                                             ^~~~~~~
svcTPGOccNNGP.cpp:894:9: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized]
  894 | #pragma omp parallel for private (e, i, b) reduction(+:aa, logDet)
      |         ^~~
svcTPGOccNNGP.cpp:457:12: note: 'logDet' was declared here
  457 |     double logDet;
      |            ^~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c svcTPGOccNNGPPredict.cpp -o svcTPGOccNNGPPredict.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c tIntPGOcc.cpp -o tIntPGOcc.o
tIntPGOcc.cpp: In function 'SEXPREC* tIntPGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
tIntPGOcc.cpp:992:21: warning: 'etaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  992 |       SET_VECTOR_ELT(result_r, ar1Ind, etaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tIntPGOcc.cpp:232:10: note: 'etaSamples_r' was declared here
  232 |     SEXP etaSamples_r;
      |          ^~~~~~~~~~~~
tIntPGOcc.cpp:896:36: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  896 |                               &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~
tIntPGOcc.cpp:241:10: note: 'sigmaSqPSamples_r' was declared here
  241 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
tIntPGOcc.cpp:898:36: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  898 |                               &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~~
tIntPGOcc.cpp:242:10: note: 'alphaStarSamples_r' was declared here
  242 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
tIntPGOcc.cpp:890:36: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  890 |                               &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~~~
tIntPGOcc.cpp:250:10: note: 'sigmaSqPsiSamples_r' was declared here
  250 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
tIntPGOcc.cpp:892:36: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  892 |                               &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                                ~~~~^~~~~~~~~~~~~~~~~~~
tIntPGOcc.cpp:251:10: note: 'betaStarSamples_r' was declared here
  251 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
tIntPGOcc.cpp:993:21: warning: 'thetaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  993 |       SET_VECTOR_ELT(result_r, ar1Ind + 1, thetaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tIntPGOcc.cpp:405:10: note: 'thetaSamples_r' was declared here
  405 |     SEXP thetaSamples_r;
      |          ^~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c tMsPGOcc.cpp -o tMsPGOcc.o
tMsPGOcc.cpp: In function 'SEXPREC* tMsPGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
tMsPGOcc.cpp:1146:21: warning: 'etaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1146 |       SET_VECTOR_ELT(result_r, ar1Ind, etaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tMsPGOcc.cpp:278:10: note: 'etaSamples_r' was declared here
  278 |     SEXP etaSamples_r;
      |          ^~~~~~~~~~~~
tMsPGOcc.cpp:1147:21: warning: 'thetaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1147 |       SET_VECTOR_ELT(result_r, ar1Ind + 1, thetaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tMsPGOcc.cpp:279:10: note: 'thetaSamples_r' was declared here
  279 |     SEXP thetaSamples_r;
      |          ^~~~~~~~~~~~~~
tMsPGOcc.cpp:1033:61: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1033 |               F77_NAME(dcopy)(&pDetRE, sigmaSqP, &inc, &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                                                         ~~~~^~~~~~~~~~~~~~~~~~~
tMsPGOcc.cpp:302:10: note: 'sigmaSqPSamples_r' was declared here
  302 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
tMsPGOcc.cpp:1034:63: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1034 |               F77_NAME(dcopy)(&nDetREN, alphaStar, &inc, &REAL(alphaStarSamples_r)[sPost*nDetREN], &inc);
      |                                                           ~~~~^~~~~~~~~~~~~~~~~~~~
tMsPGOcc.cpp:303:10: note: 'alphaStarSamples_r' was declared here
  303 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
tMsPGOcc.cpp:1037:63: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1037 |               F77_NAME(dcopy)(&pOccRE, sigmaSqPsi, &inc, &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                                                           ~~~~^~~~~~~~~~~~~~~~~~~~~
tMsPGOcc.cpp:311:10: note: 'sigmaSqPsiSamples_r' was declared here
  311 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
tMsPGOcc.cpp:1038:62: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
 1038 |               F77_NAME(dcopy)(&nOccREN, betaStar, &inc, &REAL(betaStarSamples_r)[sPost*nOccREN], &inc);
      |                                                          ~~~~^~~~~~~~~~~~~~~~~~~
tMsPGOcc.cpp:312:10: note: 'betaStarSamples_r' was declared here
  312 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
tMsPGOcc.cpp:1168:42: warning: 'tmp_0' may be used uninitialized [-Wmaybe-uninitialized]
 1168 |       SET_VECTOR_ELT(resultName_r, tmp_0 + 1, Rf_mkChar("beta.star.samples"));
      |                                    ~~~~~~^~~
tMsPGOcc.cpp:183:12: note: 'tmp_0' was declared here
  183 |     double tmp_0, tmp_02;
      |            ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c tPGOcc.cpp -o tPGOcc.o
tPGOcc.cpp: In function 'SEXPREC* tPGOcc(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
tPGOcc.cpp:912:21: warning: 'etaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  912 |       SET_VECTOR_ELT(result_r, ar1Ind, etaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tPGOcc.cpp:207:10: note: 'etaSamples_r' was declared here
  207 |     SEXP etaSamples_r;
      |          ^~~~~~~~~~~~
tPGOcc.cpp:819:34: warning: 'sigmaSqPSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  819 |                             &REAL(sigmaSqPSamples_r)[sPost*pDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
tPGOcc.cpp:216:10: note: 'sigmaSqPSamples_r' was declared here
  216 |     SEXP sigmaSqPSamples_r;
      |          ^~~~~~~~~~~~~~~~~
tPGOcc.cpp:821:34: warning: 'alphaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  821 |                             &REAL(alphaStarSamples_r)[sPost*nDetRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~
tPGOcc.cpp:217:10: note: 'alphaStarSamples_r' was declared here
  217 |     SEXP alphaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~~
tPGOcc.cpp:813:34: warning: 'sigmaSqPsiSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  813 |                             &REAL(sigmaSqPsiSamples_r)[sPost*pOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~~~
tPGOcc.cpp:225:10: note: 'sigmaSqPsiSamples_r' was declared here
  225 |     SEXP sigmaSqPsiSamples_r;
      |          ^~~~~~~~~~~~~~~~~~~
tPGOcc.cpp:815:34: warning: 'betaStarSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  815 |                             &REAL(betaStarSamples_r)[sPost*nOccRE], &inc);
      |                              ~~~~^~~~~~~~~~~~~~~~~~~
tPGOcc.cpp:226:10: note: 'betaStarSamples_r' was declared here
  226 |     SEXP betaStarSamples_r;
      |          ^~~~~~~~~~~~~~~~~
tPGOcc.cpp:913:21: warning: 'thetaSamples_r' may be used uninitialized [-Wmaybe-uninitialized]
  913 |       SET_VECTOR_ELT(result_r, ar1Ind + 1, thetaSamples_r);
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tPGOcc.cpp:350:10: note: 'thetaSamples_r' was declared here
  350 |     SEXP thetaSamples_r;
      |          ^~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c util.cpp -o util.o
g++ -std=gnu++17 -shared -s -static-libgcc -o spOccupancy.dll tmp.def PGOcc.o idist.o init.o intMsPGOcc.o intPGOcc.o lfJSDM.o lfMsPGOcc.o mkSpCov.o msPGOcc.o nn.o postHocLM.o rpg.o sfJSDMNNGP.o sfMsPGOccNNGP.o sfMsPGOccNNGPPredict.o spIntPGOcc.o spIntPGOccNNGP.o spMsPGOcc.o spMsPGOccNNGP.o spMsPGOccNNGPPredict.o spMsPGOccPredict.o spPGOcc.o spPGOccNNGP.o spPGOccNNGPPredict.o spPGOccPredict.o stIntPGOccNNGP.o stMsPGOccNNGP.o stPGOccNNGP.o stPGOccNNGPPredict.o svcMsPGOccNNGP.o svcMsPGOccNNGPPredict.o svcPGBinomNNGP.o svcPGOccNNGP.o svcPGOccNNGPPredict.o svcTIntPGOccNNGP.o svcTMsPGOccNNGP.o svcTMsPGOccNNGPPredict.o svcTPGBinomNNGP.o svcTPGOccNNGP.o svcTPGOccNNGPPredict.o tIntPGOcc.o tMsPGOcc.o tPGOcc.o util.o -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRblas -lgfortran -lm -lquadmath -fopenmp -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_12_15_01_50_00_17345/RtmpyY5DP2/R.INSTALL12ec015d47a9/spOccupancy/src'
make[1]: Entering directory '/d/temp/2024_12_15_01_50_00_17345/RtmpyY5DP2/R.INSTALL12ec015d47a9/spOccupancy/src'
make[1]: Leaving directory '/d/temp/2024_12_15_01_50_00_17345/RtmpyY5DP2/R.INSTALL12ec015d47a9/spOccupancy/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-spOccupancy/00new/spOccupancy/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 'spOccupancy' as spOccupancy_0.8.0.zip
* DONE (spOccupancy)