* installing *source* package 'fastei' ...
** this is package 'fastei' version '0.0.0.10'
** package 'fastei' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.2.0'
using C++ compiler: 'g++.exe (GCC) 14.2.0'
make[1]: Entering directory '/d/temp/2025_09_24_01_50_00_30071/RtmpKmegLu/R.INSTALL1cdbc75461730/fastei/src'
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c LP.c -o LP.o
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c MCMC.c -o MCMC.o
MCMC.c: In function 'generateOmegaSet':
MCMC.c:182:14: warning: unused variable 'arraySize' [-Wunused-variable]
  182 |     uint32_t arraySize = M * S;
      |              ^~~~~~~~~
MCMC.c: In function 'preMultinomialCoeff':
MCMC.c:361:13: warning: unused variable 'W' [-Wunused-variable]
  361 |     Matrix *W = &ctx->W;          // Get the W matrix
      |             ^
MCMC.c: In function 'computeQ':
MCMC.c:497:20: warning: unused variable 'qsum' [-Wunused-variable]
  497 |             double qsum = 0;
      |                    ^~~~
MCMC.c:483:13: warning: unused variable 'W' [-Wunused-variable]
  483 |     Matrix *W = &ctx->W;                         // Get the W matrix
      |             ^
MCMC.c: In function 'computeQHitAndRun':
MCMC.c:550:27: warning: unused variable 'currentMatrix' [-Wunused-variable]
  550 |                 IntMatrix currentMatrix = currentSet->data[s]; // Z
      |                           ^~~~~~~~~~~~~
MCMC.c:523:13: warning: unused variable 'probabilities' [-Wunused-variable]
  523 |     Matrix *probabilities = &ctx->probabilities;
      |             ^~~~~~~~~~~~~
MCMC.c:521:16: warning: unused variable 'intW' [-Wunused-variable]
  521 |     IntMatrix *intW = &ctx->intW;
      |                ^~~~
MCMC.c:520:16: warning: unused variable 'intX' [-Wunused-variable]
  520 |     IntMatrix *intX = &ctx->intX;
      |                ^~~~
MCMC.c:518:13: warning: unused variable 'X' [-Wunused-variable]
  518 |     Matrix *X = &ctx->X;
      |             ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/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.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -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:251:9: warning: unused variable 'matsize' [-Wunused-variable]
  251 |     int matsize = xmat->rows;
      |         ^~~~~~~
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c dynamic_program.c -o dynamic_program.o
dynamic_program.c: In function 'aggregateGroups':
dynamic_program.c:488:31: warning: 'boundaries' may be used uninitialized [-Wmaybe-uninitialized]
  488 |             bootstrapMatrix = testBootstrap(ctx, &quality, set_method, xmat, wmat, boundaries, -1, bootiter, q_method,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  489 |                                             p_method, convergence, log_convergence, maxIter, maxSeconds, *inputParams);
      |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dynamic_program.c:451:10: note: 'boundaries' was declared here
  451 |     int *boundaries;
      |          ^~~~~~~~~~
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c exact.c -o exact.o
exact.c: In function 'generateHSets':
exact.c:224:10: warning: unused variable 'HSETS' [-Wunused-variable]
  224 |     Set *HSETS = ctx->hset;
      |          ^~~~~
exact.c: In function 'generateKSets':
exact.c:268:10: warning: unused variable 'KSETS' [-Wunused-variable]
  268 |     Set *KSETS = ctx->kset;
      |          ^~~~~
exact.c: In function 'recursion':
exact.c:415:10: warning: unused variable 'HSETS' [-Wunused-variable]
  415 |     Set *HSETS = ctx->hset;
      |          ^~~~~
exact.c:414:10: warning: unused variable 'KSETS' [-Wunused-variable]
  414 |     Set *KSETS = ctx->kset;
      |          ^~~~~
exact.c: In function 'computeQExact':
exact.c:584:13: warning: unused variable 'W' [-Wunused-variable]
  584 |     Matrix *W = &ctx->W;
      |             ^
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c main.c -o main.o
main.c: In function 'projectQ':
main.c:497:25: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  497 |                     int status;
      |                         ^~~~~~
main.c: In function 'EMAlgoritm':
main.c:634:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  634 |         if (i >= 1 && i >= config.params.miniter &&
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  635 |                 (fabs(newLL - oldLL) < LLconvergence ||
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  636 |                  convergeMatrix(&oldProbabilities, &ctx->probabilities, convergence)) ||
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c multinomial.c -o multinomial.o
multinomial.c: In function 'computeQMultinomial':
multinomial.c:110:16: warning: unused variable 'intW' [-Wunused-variable]
  110 |     IntMatrix *intW = &ctx->intW;
      |                ^~~~
multinomial.c:108:13: warning: unused variable 'W' [-Wunused-variable]
  108 |     Matrix *W = &ctx->W;
      |             ^
multinomial.c:107:13: warning: unused variable 'X' [-Wunused-variable]
  107 |     Matrix *X = &ctx->X;
      |             ^
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c multivariate-cdf.c -o multivariate-cdf.o
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c multivariate-pdf.c -o multivariate-pdf.o
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c utils_hash.c -o utils_hash.o
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c utils_matrix.c -o utils_matrix.o
utils_matrix.c:62:13: warning: 'transposeMatrix' defined but not used [-Wunused-function]
   62 | static void transposeMatrix(const double *src, int rows, int cols, double *dst)
      |             ^~~~~~~~~~~~~~~
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c utils_multivariate.c -o utils_multivariate.o
utils_multivariate.c: In function 'getAverageConditional':
utils_multivariate.c:230:10: warning: unused variable 'trans' [-Wunused-variable]
  230 |     char trans = 'N';             // (There's no separate transpose flag in dger,
      |          ^~~~~
In file included from D:/RCompile/recent/R-4.5.1/include/R.h:78,
                 from utils_multivariate.c:24:
utils_multivariate.c: In function 'getMahanalobisDist':
utils_multivariate.c:321:14: warning: '<unknown>' may be used uninitialized [-Wmaybe-uninitialized]
  321 |     F77_CALL(dsymv)(&uplo, &n, &alpha, inverseSigma->data, &lda, diff, &incx, &beta, temp, &incy FCONE);
      |              ^
D:/RCompile/recent/R-4.5.1/include/R_ext/RS.h:98:25: note: in definition of macro 'F77_CALL'
   98 | # define F77_CALL(x)    x ## _
      |                         ^
D:/RCompile/recent/R-4.5.1/include/R_ext/BLAS.h:142:10: note: by argument 6 of type 'const double *' to 'dsymv_' declared here
  142 | F77_NAME(dsymv)(const char *uplo, const BLAS_INT *n, const double *alpha,
      |          ^~~~~
D:/RCompile/recent/R-4.5.1/include/R_ext/RS.h:98:25: note: in definition of macro 'F77_CALL'
   98 | # define F77_CALL(x)    x ## _
      |                         ^
D:/RCompile/recent/R-4.5.1/include/R_ext/BLAS.h:142:1: note: in expansion of macro 'F77_NAME'
  142 | F77_NAME(dsymv)(const char *uplo, const BLAS_INT *n, const double *alpha,
      | ^~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools45/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 LP.o MCMC.o RcppExports.o bootstrap.o dynamic_program.o exact.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.5.1/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRblas -lgfortran -lquadmath -fopenmp -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.5.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_09_24_01_50_00_30071/RtmpKmegLu/R.INSTALL1cdbc75461730/fastei/src'
make[1]: Entering directory '/d/temp/2025_09_24_01_50_00_30071/RtmpKmegLu/R.INSTALL1cdbc75461730/fastei/src'
make[1]: Leaving directory '/d/temp/2025_09_24_01_50_00_30071/RtmpKmegLu/R.INSTALL1cdbc75461730/fastei/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/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.10.zip
* DONE (fastei)