* installing *source* package 'nonneg.cg' ... ** package 'nonneg.cg' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.3.0' using C++ compiler: 'g++.exe (GCC) 12.3.0' make[1]: Entering directory '/d/temp/2024_11_18_01_50_01_1577/Rtmp63MPfd/R.INSTALL1044c17eb3a65/nonneg.cg/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -D_FOR_R -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -D_FOR_R -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c nonnegcg.c -o nonnegcg.o nonnegcg.c: In function 'minimize_nonneg_cg': nonnegcg.c:223: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 223 | #pragma omp parallel for schedule(static) firstprivate(x, direction_curr, grad_curr) num_threads(nthreads) | nonnegcg.c:247: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 247 | #pragma omp parallel for schedule(static) firstprivate(x, direction_curr, direction_prev, grad_curr, grad_prev, n_szt, theta, beta) num_threads(nthreads) | nonnegcg.c:289: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 289 | #pragma omp parallel for schedule(static) firstprivate(x, n_szt) num_threads(nthreads) | nonnegcg.c:328: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 328 | #pragma omp parallel for schedule(static) firstprivate(x, n_szt) num_threads(nthreads) | nonnegcg.c:241:100: warning: 'grad_prev' may be used uninitialized [-Wmaybe-uninitialized] 241 | beta += ( x[i] <= 0 )? 0 : grad_curr[i] * (grad_curr[i] - grad_prev[i]); | ~~~~~~~~~^~~ nonnegcg.c:196:26: note: 'grad_prev' was declared here 196 | double *restrict grad_prev; | ^~~~~~~~~ nonnegcg.c:240:90: warning: 'direction_prev' may be used uninitialized [-Wmaybe-uninitialized] 240 | theta += ( x[i] <= 0 )? 0 : grad_curr[i] * direction_prev[i]; | ~~~~~~~~~~~~~~^~~ nonnegcg.c:195:26: note: 'direction_prev' was declared here 195 | double *restrict direction_prev; | ^~~~~~~~~~~~~~ nonnegcg.c:244:30: warning: 'grad_prev_norm_sq' may be used uninitialized [-Wmaybe-uninitialized] 244 | beta /= grad_prev_norm_sq; | ~~~~~^~~~~~~~~~~~~~~~~~~~ nonnegcg.c:156:16: note: 'grad_prev_norm_sq' was declared here 156 | double grad_prev_norm_sq; | ^~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -D_FOR_R -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rwrapper.cpp -o rwrapper.o g++ -std=gnu++17 -shared -s -static-libgcc -o nonneg.cg.dll tmp.def RcppExports.o nonnegcg.o rwrapper.o -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -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_11_18_01_50_01_1577/Rtmp63MPfd/R.INSTALL1044c17eb3a65/nonneg.cg/src' make[1]: Entering directory '/d/temp/2024_11_18_01_50_01_1577/Rtmp63MPfd/R.INSTALL1044c17eb3a65/nonneg.cg/src' make[1]: Leaving directory '/d/temp/2024_11_18_01_50_01_1577/Rtmp63MPfd/R.INSTALL1044c17eb3a65/nonneg.cg/src' installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-nonneg.cg/00new/nonneg.cg/libs/x64 ** R ** 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 'nonneg.cg' as nonneg.cg_0.1.6-1.zip * DONE (nonneg.cg)