* installing *source* package ‘kkmeans’ ...
** package ‘kkmeans’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c classify_wrapper.c -o classify_wrapper.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c estimate.c -o estimate.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c kcluster.c -o kcluster.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c kernel_wrapper.c -o kernel_wrapper.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c kernels.c -o kernels.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c registerDynamicSymbol.c -o registerDynamicSymbol.o
kcluster.c:87:10: warning: unused variable 'da' [-Wunused-variable]
double da;
^
kcluster.c:158:7: warning: variable 'nqtran' set but not used [-Wunused-but-set-variable]
int nqtran, notran;
^
kcluster.c:158:15: warning: variable 'notran' set but not used [-Wunused-but-set-variable]
int nqtran, notran;
^
estimate.c:155:7: warning: unused variable 'i' [-Wunused-variable]
int i, j;
^
kernel_wrapper.c:41:11: warning: unused variable 'j' [-Wunused-variable]
int j;
^
kcluster.c:835:13: warning: unused variable 'temp' [-Wunused-variable]
double M, temp, fo_acc, fo_low;
^
kcluster.c:948:13: warning: unused variable 'temp' [-Wunused-variable]
double M, temp, fo_acc, fo_low;
^
kcluster.c:948:27: warning: variable 'fo_low' set but not used [-Wunused-but-set-variable]
double M, temp, fo_acc, fo_low;
^
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c wrapper.c -o wrapper.o
1 warning generated.
1 warning generated.
wrapper.c:66:10: warning: unused variable 'h' [-Wunused-variable]
double h = *h_ptr;
^
wrapper.c:68:12: warning: variable 'kernel' set but not used [-Wunused-but-set-variable]
double (*kernel)(int, int, double[], int, int, double, double);
^
2 warnings generated.
6 warnings generated.
clang -arch arm64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o kkmeans.so classify_wrapper.o estimate.o kcluster.o kernel_wrapper.o kernels.o registerDynamicSymbol.o wrapper.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/kkmeans.Rcheck/00LOCK-kkmeans/00new/kkmeans/libs
** generating debug symbols (dSYM)
** 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)