* installing *source* package 'spNNGP' ... ** package 'spNNGP' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpSWdoSJ/R.INSTALL272c8236538b/spNNGP/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c PGLogit.cpp -o PGLogit.o PGLogit.cpp: In function 'SEXPREC* PGLogit(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': PGLogit.cpp:31:18: warning: unused variable 'negOne' [-Wunused-variable] 31 | const double negOne = -1.0; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cNNGP.cpp -o cNNGP.o cNNGP.cpp: In function 'SEXPREC* cNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cNNGP.cpp:77:9: warning: unused variable 'h' [-Wunused-variable] 77 | int h, i, j, k, l, s, info, nProtect=0; | ^ cNNGP.cpp:77:24: warning: unused variable 's' [-Wunused-variable] 77 | int h, i, j, k, l, s, info, nProtect=0; | ^ cNNGP.cpp:80:18: warning: unused variable 'negOne' [-Wunused-variable] 80 | const double negOne = -1.0; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cSLGP.cpp -o cSLGP.o cSLGP.cpp: In function 'SEXPREC* cSLGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cSLGP.cpp:141:9: warning: unused variable 'h' [-Wunused-variable] 141 | int h, i, j, k, l, s, info, nProtect=0; | ^ cSLGP.cpp:141:24: warning: unused variable 's' [-Wunused-variable] 141 | int h, i, j, k, l, s, info, nProtect=0; | ^ cSLGP.cpp:144:18: warning: unused variable 'negOne' [-Wunused-variable] 144 | const double negOne = -1.0; | ^~~~~~ cSLGP.cpp:519:21: warning: 'XStr_r' may be used uninitialized [-Wmaybe-uninitialized] 519 | SET_VECTOR_ELT(result_r, i, XStr_r); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cSLGP.cpp:286:10: note: 'XStr_r' was declared here 286 | SEXP XStr_r; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/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.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c nn.cpp -o nn.o nn.cpp: In function 'SEXPREC* mkUIndx(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': nn.cpp:36:7: warning: unused variable 'nIndx' [-Wunused-variable] 36 | int nIndx = static_cast<int>(static_cast<double>(1+m)/2*m+(n-m-1)*m); | ^~~~~ nn.cpp: In function 'void fastNN(int, int, double*, int, double*, int*, int*, double*)': nn.cpp:138:11: warning: unused variable 'k' [-Wunused-variable] 138 | int i,j,k; | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rNNGP.cpp -o rNNGP.o rNNGP.cpp: In function 'SEXPREC* rNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': rNNGP.cpp:111:9: warning: unused variable 'h' [-Wunused-variable] 111 | int h, i, j, k, l, s, info, nProtect=0; | ^ rNNGP.cpp:111:18: warning: unused variable 'k' [-Wunused-variable] 111 | int h, i, j, k, l, s, info, nProtect=0; | ^ rNNGP.cpp:111:21: warning: unused variable 'l' [-Wunused-variable] 111 | int h, i, j, k, l, s, info, nProtect=0; | ^ rNNGP.cpp:410:21: warning: 'repSamples_r' may be used uninitialized [-Wmaybe-uninitialized] 410 | SET_VECTOR_ELT(result_r, 2, repSamples_r); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ rNNGP.cpp:227:41: note: 'repSamples_r' was declared here 227 | SEXP betaSamples_r, thetaSamples_r, repSamples_r; | ^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rNNGPPredict.cpp -o rNNGPPredict.o rNNGPPredict.cpp: In function 'SEXPREC* rNNGPPredict(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': rNNGPPredict.cpp:28:9: warning: unused variable 'h' [-Wunused-variable] 28 | int h, i, j, k, l, s, info, nProtect=0; | ^ rNNGPPredict.cpp:28:15: warning: unused variable 'j' [-Wunused-variable] 28 | int h, i, j, k, l, s, info, nProtect=0; | ^ rNNGPPredict.cpp:31:18: warning: unused variable 'negOne' [-Wunused-variable] 31 | const double negOne = -1.0; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rNNGPReplicated.cpp -o rNNGPReplicated.o rNNGPReplicated.cpp: In function 'SEXPREC* rNNGPReplicated(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': rNNGPReplicated.cpp:80:9: warning: unused variable 'h' [-Wunused-variable] 80 | int h, i, j, k, l, s, info, nProtect=0; | ^ rNNGPReplicated.cpp:80:18: warning: unused variable 'k' [-Wunused-variable] 80 | int h, i, j, k, l, s, info, nProtect=0; | ^ rNNGPReplicated.cpp:80:21: warning: unused variable 'l' [-Wunused-variable] 80 | int h, i, j, k, l, s, info, nProtect=0; | ^ rNNGPReplicated.cpp:80:27: warning: unused variable 'info' [-Wunused-variable] 80 | int h, i, j, k, l, s, info, nProtect=0; | ^~~~ rNNGPReplicated.cpp:83:18: warning: unused variable 'negOne' [-Wunused-variable] 83 | const double negOne = -1.0; | ^~~~~~ rNNGPReplicated.cpp:84:18: warning: unused variable 'zero' [-Wunused-variable] 84 | const double zero = 0.0; | ^~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/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.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sNNGP.cpp -o sNNGP.o sNNGP.cpp: In function 'SEXPREC* sNNGP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': sNNGP.cpp:75:9: warning: unused variable 'h' [-Wunused-variable] 75 | int h, i, j, k, l, s, info, nProtect=0; | ^ sNNGP.cpp:75:21: warning: unused variable 'l' [-Wunused-variable] 75 | int h, i, j, k, l, s, info, nProtect=0; | ^ sNNGP.cpp:78:18: warning: unused variable 'negOne' [-Wunused-variable] 78 | const double negOne = -1.0; | ^~~~~~ sNNGP.cpp:323:9: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized] 323 | #pragma omp parallel for private (e, j, b) reduction(+:a, logDet) | ^~~ sNNGP.cpp:226:41: note: 'logDet' was declared here 226 | double logPostCand, logPostCurrent, logDet; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sNNGPLogit.cpp -o sNNGPLogit.o sNNGPLogit.cpp: In function 'SEXPREC* sNNGPLogit(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': sNNGPLogit.cpp:76:9: warning: unused variable 'h' [-Wunused-variable] 76 | int h, i, j, k, l, s, info, nProtect=0; | ^ sNNGPLogit.cpp:76:21: warning: unused variable 'l' [-Wunused-variable] 76 | int h, i, j, k, l, s, info, nProtect=0; | ^ sNNGPLogit.cpp:79:18: warning: unused variable 'negOne' [-Wunused-variable] 79 | const double negOne = -1.0; | ^~~~~~ sNNGPLogit.cpp:335:9: warning: 'logDet' may be used uninitialized [-Wmaybe-uninitialized] 335 | #pragma omp parallel for private (e, j, b) reduction(+:a, logDet) | ^~~ sNNGPLogit.cpp:231:41: note: 'logDet' was declared here 231 | double logPostCand, logPostCurrent, logDet; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sNNGPPredict.cpp -o sNNGPPredict.o sNNGPPredict.cpp: In function 'SEXPREC* sNNGPPredict(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': sNNGPPredict.cpp:28:9: warning: unused variable 'h' [-Wunused-variable] 28 | int h, i, j, k, l, s, info, nProtect=0; | ^ sNNGPPredict.cpp:28:15: warning: unused variable 'j' [-Wunused-variable] 28 | int h, i, j, k, l, s, info, nProtect=0; | ^ sNNGPPredict.cpp:31:18: warning: unused variable 'negOne' [-Wunused-variable] 31 | const double negOne = -1.0; | ^~~~~~ sNNGPPredict.cpp:36:13: warning: unused variable 'X' [-Wunused-variable] 36 | double *X = REAL(X_r); | ^ sNNGPPredict.cpp:37:13: warning: unused variable 'y' [-Wunused-variable] 37 | double *y = REAL(y_r); | ^ sNNGPPredict.cpp:88:50: warning: 'nuIndx' may be used uninitialized [-Wmaybe-uninitialized] 88 | int nTheta, sigmaSqIndx, tauSqIndx, phiIndx, nuIndx; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c util.cpp -o util.o util.cpp: In function 'void mvrnorm(double*, double*, double*, int)': util.cpp:33:10: warning: unused variable 'zero' [-Wunused-variable] 33 | double zero = 0.0; | ^~~~ util.cpp: In function 'void mkUIndx2(int, int, int*, int*, int*, int*)': util.cpp:117:10: warning: unused variable 'j' [-Wunused-variable] 117 | int i, j, k; | ^ g++ -std=gnu++17 -shared -s -static-libgcc -o spNNGP.dll tmp.def PGLogit.o cNNGP.o cSLGP.o init.o nn.o rNNGP.o rNNGPPredict.o rNNGPReplicated.o rpg.o sNNGP.o sNNGPLogit.o sNNGPPredict.o util.o -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -fopenmp -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpSWdoSJ/R.INSTALL272c8236538b/spNNGP/src' make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpSWdoSJ/R.INSTALL272c8236538b/spNNGP/src' make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpSWdoSJ/R.INSTALL272c8236538b/spNNGP/src' installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-spNNGP/00new/spNNGP/libs/x64 ** R ** data ** 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 'spNNGP' as spNNGP_1.0.1.zip * DONE (spNNGP)