* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* 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-15 (Debian 15.2.0-12) 15.2.0’
make[1]: Entering directory '/tmp/Rtmpvv3NJu/R.INSTALLc9e9f19daa7a6/kkmeans/src'
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c classify_wrapper.c -o classify_wrapper.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c kernels.c -o kernels.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c registerDynamicSymbol.c -o registerDynamicSymbol.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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-15 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o kkmeans.so classify_wrapper.o estimate.o kcluster.o kernel_wrapper.o kernels.o registerDynamicSymbol.o wrapper.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmpvv3NJu/R.INSTALLc9e9f19daa7a6/kkmeans/src'
make[1]: Entering directory '/tmp/Rtmpvv3NJu/R.INSTALLc9e9f19daa7a6/kkmeans/src'
make[1]: Leaving directory '/tmp/Rtmpvv3NJu/R.INSTALLc9e9f19daa7a6/kkmeans/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-kkmeans/00new/kkmeans/libs
** 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
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (kkmeans)