* installing *source* package 'kkmeans' ...
** package 'kkmeans' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2026_02_02_01_50_01_7887/Rtmp6F0YY0/R.INSTALLcc9c54356e0f/kkmeans/src'
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 classify_wrapper.c -o classify_wrapper.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 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.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 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.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 kernels.c -o kernels.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 registerDynamicSymbol.c -o registerDynamicSymbol.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 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 kcluster.o kernel_wrapper.o kernels.o registerDynamicSymbol.o wrapper.o -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/2026_02_02_01_50_01_7887/Rtmp6F0YY0/R.INSTALLcc9c54356e0f/kkmeans/src'
make[1]: Entering directory '/d/temp/2026_02_02_01_50_01_7887/Rtmp6F0YY0/R.INSTALLcc9c54356e0f/kkmeans/src'
make[1]: Leaving directory '/d/temp/2026_02_02_01_50_01_7887/Rtmp6F0YY0/R.INSTALLcc9c54356e0f/kkmeans/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/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.3.zip
* DONE (kkmeans)