* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘kkmeans’ ...
** this is package ‘kkmeans’ version ‘0.1.3’
** package ‘kkmeans’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpxCndsl/R.INSTALL2544d7e2079a0/kkmeans/src'
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-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-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-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-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-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-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-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-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-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-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-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-14 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o kkmeans.so classify_wrapper.o kcluster.o kernel_wrapper.o kernels.o registerDynamicSymbol.o wrapper.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpxCndsl/R.INSTALL2544d7e2079a0/kkmeans/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpxCndsl/R.INSTALL2544d7e2079a0/kkmeans/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpxCndsl/R.INSTALL2544d7e2079a0/kkmeans/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-kkmeans/00new/kkmeans/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘kkmeans’
finding HTML links ... done
cluster_new html
get_kernel_matrix html
get_mknn_dist html
jump_stat html
kkmeans html
matr html
** 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)