* installing *source* package 'fastei' ...
** this is package 'fastei' version '0.0.0.12'
** package 'fastei' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_01_24_01_50_00_24477/RtmpGk9DdU/R.INSTALLaa487818682/fastei/src'
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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:183:14: warning: unused variable 'arraySize' [-Wunused-variable]
  183 |     uint32_t arraySize = M * S;
      |              ^~~~~~~~~
MCMC.c: In function 'preMultinomialCoeff':
MCMC.c:395:13: warning: unused variable 'W' [-Wunused-variable]
  395 |     Matrix *W = &ctx->W;          // Get the W matrix
      |             ^
MCMC.c: In function 'computeQ':
MCMC.c:531:20: warning: unused variable 'qsum' [-Wunused-variable]
  531 |             double qsum = 0;
      |                    ^~~~
MCMC.c:517:13: warning: unused variable 'W' [-Wunused-variable]
  517 |     Matrix *W = &ctx->W;                         // Get the W matrix
      |             ^
MCMC.c: In function 'computeQHitAndRun':
MCMC.c:584:27: warning: unused variable 'currentMatrix' [-Wunused-variable]
  584 |                 IntMatrix currentMatrix = currentSet->data[s]; // Z
      |                           ^~~~~~~~~~~~~
MCMC.c:557:13: warning: unused variable 'probabilities' [-Wunused-variable]
  557 |     Matrix *probabilities = &ctx->probabilities;
      |             ^~~~~~~~~~~~~
MCMC.c:555:16: warning: unused variable 'intW' [-Wunused-variable]
  555 |     IntMatrix *intW = &ctx->intW;
      |                ^~~~
MCMC.c:554:16: warning: unused variable 'intX' [-Wunused-variable]
  554 |     IntMatrix *intX = &ctx->intX;
      |                ^~~~
MCMC.c:552:13: warning: unused variable 'X' [-Wunused-variable]
  552 |     Matrix *X = &ctx->X;
      |             ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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:135:9: warning: unused variable 'matsize' [-Wunused-variable]
  135 |     int matsize = wmat->cols * xmat->rows;
      |         ^~~~~~~
bootstrap.c:134:9: warning: unused variable 'samples' [-Wunused-variable]
  134 |     int samples = bdim * bootiter;
      |         ^~~~~~~
bootstrap.c: In function 'bootSingleMat':
bootstrap.c:267:9: warning: unused variable 'matsize' [-Wunused-variable]
  267 |     int matsize = xmat->rows;
      |         ^~~~~~~
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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:490:17: warning: 'boundaries' may be used uninitialized [-Wmaybe-uninitialized]
  490 |                 testBootstrap(ctx, &quality, set_method, xmat, wmat, boundaries, -1, bootiter, q_method, p_method,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  491 |                               convergence, log_convergence, maxIter, maxSeconds, P, *inputParams);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dynamic_program.c:451:10: note: 'boundaries' was declared here
  451 |     int *boundaries;
      |          ^~~~~~~~~~
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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:241:10: warning: unused variable 'HSETS' [-Wunused-variable]
  241 |     Set *HSETS = ctx->hset;
      |          ^~~~~
exact.c: In function 'generateKSets':
exact.c:285:10: warning: unused variable 'KSETS' [-Wunused-variable]
  285 |     Set *KSETS = ctx->kset;
      |          ^~~~~
exact.c: In function 'recursion':
exact.c:432:10: warning: unused variable 'HSETS' [-Wunused-variable]
  432 |     Set *HSETS = ctx->hset;
      |          ^~~~~
exact.c:431:10: warning: unused variable 'KSETS' [-Wunused-variable]
  431 |     Set *KSETS = ctx->kset;
      |          ^~~~~
exact.c: In function 'recursion_one_b':
exact.c:591:10: warning: unused variable 'HSETS' [-Wunused-variable]
  591 |     Set *HSETS = ctx->hset;
      |          ^~~~~
exact.c:590:10: warning: unused variable 'KSETS' [-Wunused-variable]
  590 |     Set *KSETS = ctx->kset;
      |          ^~~~~
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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 'precomputeScaleFactors':
main.c:145:16: warning: unused variable 'sum' [-Wunused-variable]
  145 |         double sum = 0.0;
      |                ^~~
main.c: In function 'projectQ':
main.c:624:25: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  624 |                     int status;
      |                         ^~~~~~
main.c:582:10: warning: unused variable 'mismatch' [-Wunused-variable]
  582 |     bool mismatch = hasMismatch(X, W);
      |          ^~~~~~~~
main.c: At top level:
main.c:202:13: warning: 'checkQRowSums' defined but not used [-Wunused-function]
  202 | static void checkQRowSums(const EMContext *ctx, const char *stage, int iter)
      |             ^~~~~~~~~~~~~
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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
In file included from utils_hash.c:25:
utils_hash.c: In function 'deleteEntry':
stb_ds.h:614:80: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  613 |     (((t) = stbds_hmdel_key_wrapper((t), sizeof *(t), (void *)STBDS_ADDRESSOF((t)->key, (k)), sizeof(t)->key,          \
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  614 |                                     STBDS_OFFSETOF((t), key), STBDS_HM_BINARY)),                                       \
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  615 |      (t) ? stbds_temp((t) - 1) : 0)
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                             
stb_ds.h:446:15: note: in expansion of macro 'stbds_hmdel'
  446 | #define hmdel stbds_hmdel
      |               ^~~~~~~~~~~
utils_hash.c:165:5: note: in expansion of macro 'hmdel'
  165 |     hmdel(table->hashmap, hash);
      |     ^~~~~
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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/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/include/R_ext/RS.h:98:25: note: in definition of macro 'F77_CALL'
   98 | # define F77_CALL(x)    x ## _
      |                         ^
D:/RCompile/recent/R/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/include/R_ext/RS.h:98:25: note: in definition of macro 'F77_CALL'
   98 | # define F77_CALL(x)    x ## _
      |                         ^
D:/RCompile/recent/R/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/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/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/bin/x64 -lRlapack -LD:/RCompile/recent/R/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/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_01_24_01_50_00_24477/RtmpGk9DdU/R.INSTALLaa487818682/fastei/src'
make[1]: Entering directory '/d/temp/2026_01_24_01_50_00_24477/RtmpGk9DdU/R.INSTALLaa487818682/fastei/src'
make[1]: Leaving directory '/d/temp/2026_01_24_01_50_00_24477/RtmpGk9DdU/R.INSTALLaa487818682/fastei/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/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.12.zip
* DONE (fastei)