* installing *source* package 'kkmeans' ...
** this is package 'kkmeans' version '0.1.2'
** package 'kkmeans' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_02_01_01_50_00_20653/Rtmp8ybSo1/R.INSTALL50701a8149ff/kkmeans/src'
gcc  -I"D:/RCompile/recent/R-4.5.2/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 classify_wrapper.c -o classify_wrapper.o
gcc  -I"D:/RCompile/recent/R-4.5.2/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 estimate.c -o estimate.o
estimate.c: In function 'param_search':
estimate.c:155:7: warning: unused variable 'i' [-Wunused-variable]
  155 |   int i, j;
      |       ^
gcc  -I"D:/RCompile/recent/R-4.5.2/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 kcluster.c -o kcluster.o
kcluster.c: In function 'kcluster':
kcluster.c:87:10: warning: unused variable 'da' [-Wunused-variable]
   87 |   double da;
      |          ^~
kcluster.c: In function 'macqueen_step':
kcluster.c:835:13: warning: unused variable 'temp' [-Wunused-variable]
  835 |   double M, temp, fo_acc, fo_low;
      |             ^~~~
kcluster.c: In function 'lloyd_step':
kcluster.c:948:27: warning: variable 'fo_low' set but not used [-Wunused-but-set-variable]
  948 |   double M, temp, fo_acc, fo_low;
      |                           ^~~~~~
kcluster.c:948:13: warning: unused variable 'temp' [-Wunused-variable]
  948 |   double M, temp, fo_acc, fo_low;
      |             ^~~~
kcluster.c: In function 'macqueen_step':
kcluster.c:888:26: warning: 'fo_low' may be used uninitialized [-Wmaybe-uninitialized]
  888 |       kern_cross[c2] += 2*fo_low + self_kern;
      |                         ~^~~~~~~
kcluster.c:835:27: note: 'fo_low' was declared here
  835 |   double M, temp, fo_acc, fo_low;
      |                           ^~~~~~
gcc  -I"D:/RCompile/recent/R-4.5.2/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 kernel_wrapper.c -o kernel_wrapper.o
kernel_wrapper.c: In function 'get_k_matrix':
kernel_wrapper.c:41:11: warning: unused variable 'j' [-Wunused-variable]
   41 |   int     j;
      |           ^
gcc  -I"D:/RCompile/recent/R-4.5.2/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 kernels.c -o kernels.o
gcc  -I"D:/RCompile/recent/R-4.5.2/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 registerDynamicSymbol.c -o registerDynamicSymbol.o
gcc  -I"D:/RCompile/recent/R-4.5.2/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 wrapper.c -o wrapper.o
wrapper.c: In function 'kkmeans':
wrapper.c:68:12: warning: variable 'kernel' set but not used [-Wunused-but-set-variable]
   68 |   double (*kernel)(int, int, double[], int, int, double, double);
      |            ^~~~~~
wrapper.c:66:10: warning: unused variable 'h' [-Wunused-variable]
   66 |   double h         = *h_ptr;
      |          ^
gcc -shared -s -static-libgcc -o kkmeans.dll tmp.def classify_wrapper.o estimate.o kcluster.o kernel_wrapper.o kernels.o registerDynamicSymbol.o wrapper.o -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.2/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_02_01_01_50_00_20653/Rtmp8ybSo1/R.INSTALL50701a8149ff/kkmeans/src'
make[1]: Entering directory '/d/temp/2026_02_01_01_50_00_20653/Rtmp8ybSo1/R.INSTALL50701a8149ff/kkmeans/src'
make[1]: Leaving directory '/d/temp/2026_02_01_01_50_00_20653/Rtmp8ybSo1/R.INSTALL50701a8149ff/kkmeans/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-kkmeans/00new/kkmeans/libs/x64
** R
** 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 'kkmeans' as kkmeans_0.1.2.zip
* DONE (kkmeans)