* 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 (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/kkmeans/src'
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c classify_wrapper.c -o classify_wrapper.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c estimate.c -o estimate.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c kcluster.c -o kcluster.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c kernel_wrapper.c -o kernel_wrapper.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c kernels.c -o kernels.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c registerDynamicSymbol.c -o registerDynamicSymbol.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c wrapper.c -o wrapper.o
kcluster.c: In function ‘kcluster’:
kcluster.c:87:10: warning: unused variable ‘da’ [-Wunused-variable]
   87 |   double da;
      |          ^~
estimate.c: In function ‘param_search’:
estimate.c:155:7: warning: unused variable ‘i’ [-Wunused-variable]
  155 |   int i, j;
      |       ^
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;
      |             ^~~~
kernel_wrapper.c: In function ‘get_k_matrix’:
kernel_wrapper.c:41:11: warning: unused variable ‘j’ [-Wunused-variable]
   41 |   int     j;
      |           ^
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;
      |          ^
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 -shared -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -fpic -L/usr/local/lib64 -o kkmeans.so classify_wrapper.o estimate.o kcluster.o kernel_wrapper.o kernels.o registerDynamicSymbol.o wrapper.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/kkmeans/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/kkmeans/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/kkmeans/src'
installing to /data/gannet/ripley/R/packages/tests-devel/kkmeans.Rcheck/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)