* installing *source* package 'fastei' ...
** package 'fastei' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2025_07_04_01_50_01_28303/RtmpKga5bu/R.INSTALL189e0e6517ce/fastei/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c bootstrap.c -o bootstrap.o
bootstrap.c: In function 'bootstrapA':
bootstrap.c:133:9: warning: unused variable 'matsize' [-Wunused-variable]
  133 |     int matsize = wmat->cols * xmat->rows;
      |         ^~~~~~~
bootstrap.c:132:9: warning: unused variable 'samples' [-Wunused-variable]
  132 |     int samples = bdim * bootiter;
      |         ^~~~~~~
bootstrap.c: In function 'bootSingleMat':
bootstrap.c:248:9: warning: unused variable 'matsize' [-Wunused-variable]
  248 |     int matsize = xmat->rows;
      |         ^~~~~~~
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c dynamic_program.c -o dynamic_program.o
dynamic_program.c: In function 'aggregateGroups':
dynamic_program.c:483:31: warning: 'boundaries' may be used uninitialized [-Wmaybe-uninitialized]
  483 |             bootstrapMatrix = testBootstrap(&quality, set_method, xmat, wmat, boundaries, -1, bootiter, q_method,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  484 |                                             p_method, convergence, log_convergence, maxIter, maxSeconds, *inputParams);
      |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dynamic_program.c:446:10: note: 'boundaries' was declared here
  446 |     int *boundaries;
      |          ^~~~~~~~~~
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c exact.c -o exact.o
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c hitAndRun.c -o hitAndRun.o
hitAndRun.c: In function 'saveOmegaSetToCSV':
hitAndRun.c:88:37: warning: unknown conversion type character 'z' in format [-Wformat=]
   88 |                     fprintf(f, "%u,%zu,%u,%u,%.0f\n", b, s, g, c, MATRIX_AT_PTR(mat, g, c));
      |                                     ^
hitAndRun.c:88:41: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
   88 |                     fprintf(f, "%u,%zu,%u,%u,%.0f\n", b, s, g, c, MATRIX_AT_PTR(mat, g, c));
      |                                        ~^                ~
      |                                         |                |
      |                                         unsigned int     size_t {aka long long unsigned int}
      |                                        %llu
hitAndRun.c:88:49: warning: format '%f' expects argument of type 'double', but argument 6 has type 'int' [-Wformat=]
   88 |                     fprintf(f, "%u,%zu,%u,%u,%.0f\n", b, s, g, c, MATRIX_AT_PTR(mat, g, c));
      |                                              ~~~^              ~
      |                                                 |              |
      |                                                 double         int
      |                                              %.0d
hitAndRun.c:88:32: warning: too many arguments for format [-Wformat-extra-args]
   88 |                     fprintf(f, "%u,%zu,%u,%u,%.0f\n", b, s, g, c, MATRIX_AT_PTR(mat, g, c));
      |                                ^~~~~~~~~~~~~~~~~~~~~
hitAndRun.c: In function 'generateOmegaSet':
hitAndRun.c:212:14: warning: unused variable 'arraySize' [-Wunused-variable]
  212 |     uint32_t arraySize = M * S;
      |              ^~~~~~~~~
hitAndRun.c: At top level:
hitAndRun.c:307:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  307 | void encode()
      |      ^~~~~~
hitAndRun.c:450:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  450 | void precomputeLogGammas()
      |      ^~~~~~~~~~~~~~~~~~~
hitAndRun.c: In function 'computeQ':
hitAndRun.c:536:20: warning: unused variable 'qsum' [-Wunused-variable]
  536 |             double qsum = 0;
      |                    ^~~~
hitAndRun.c: In function 'computeQHitAndRun':
hitAndRun.c:604:25: warning: unused variable 'currentMatrix' [-Wunused-variable]
  604 |                 Matrix *currentMatrix = currentSet->data[s]; // Z
      |                         ^~~~~~~~~~~~~
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c main.c -o main.o
main.c:404:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  404 | int checkGroups()
      |     ^~~~~~~~~~~
main.c: In function 'EMAlgoritm':
main.c:520:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  520 |         if (i >= 1 && (fabs(newLL - oldLL) < LLconvergence || convergeMatrix(&newProbability, currentP, convergence)) ||
      |             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c multinomial.c -o multinomial.o
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c multivariate-cdf.c -o multivariate-cdf.o
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c multivariate-pdf.c -o multivariate-pdf.o
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils_hash.c -o utils_hash.o
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils_matrix.c -o utils_matrix.o
utils_matrix.c:65:13: warning: 'transposeMatrix' defined but not used [-Wunused-function]
   65 | static void transposeMatrix(const double *src, int rows, int cols, double *dst)
      |             ^~~~~~~~~~~~~~~
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils_multivariate.c -o utils_multivariate.o
utils_multivariate.c: In function 'getAverageConditional':
utils_multivariate.c:227:10: warning: unused variable 'trans' [-Wunused-variable]
  227 |     char trans = 'N';             // (There's no separate transpose flag in dger,
      |          ^~~~~
In file included from D:/RCompile/recent/R-4.4.3/include/R.h:78,
                 from utils_multivariate.c:24:
utils_multivariate.c: In function 'getMahanalobisDist':
utils_multivariate.c:318:14: warning: '<unknown>' may be used uninitialized [-Wmaybe-uninitialized]
  318 |     F77_CALL(dsymv)(&uplo, &n, &alpha, inverseSigma->data, &lda, diff, &incx, &beta, temp, &incy FCONE);
      |              ^
D:/RCompile/recent/R-4.4.3/include/R_ext/RS.h:104:25: note: in definition of macro 'F77_CALL'
  104 | # define F77_CALL(x)    x ## _
      |                         ^
D:/RCompile/recent/R-4.4.3/include/R_ext/BLAS.h:144:10: note: by argument 6 of type 'const double *' to 'dsymv_' declared here
  144 | F77_NAME(dsymv)(const char *uplo, const BLAS_INT *n, const double *alpha,
      |          ^~~~~
D:/RCompile/recent/R-4.4.3/include/R_ext/RS.h:104:25: note: in definition of macro 'F77_CALL'
  104 | # define F77_CALL(x)    x ## _
      |                         ^
D:/RCompile/recent/R-4.4.3/include/R_ext/BLAS.h:144:1: note: in expansion of macro 'F77_NAME'
  144 | F77_NAME(dsymv)(const char *uplo, const BLAS_INT *n, const double *alpha,
      | ^~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c wrapper.cpp -o wrapper.o
g++ -std=gnu++17 -shared -s -static-libgcc -o fastei.dll tmp.def RcppExports.o bootstrap.o dynamic_program.o exact.o hitAndRun.o main.o multinomial.o multivariate-cdf.o multivariate-pdf.o utils_hash.o utils_matrix.o utils_multivariate.o wrapper.o -LD:/RCompile/recent/R-4.4.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.3/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.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_07_04_01_50_01_28303/RtmpKga5bu/R.INSTALL189e0e6517ce/fastei/src'
make[1]: Entering directory '/d/temp/2025_07_04_01_50_01_28303/RtmpKga5bu/R.INSTALL189e0e6517ce/fastei/src'
make[1]: Leaving directory '/d/temp/2025_07_04_01_50_01_28303/RtmpKga5bu/R.INSTALL189e0e6517ce/fastei/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-fastei/00new/fastei/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 'fastei' as fastei_0.0.0.7.zip
* DONE (fastei)