* installing *source* package ‘qcluster’ ...
** this is package ‘qcluster’ version ‘1.2.1’
** package ‘qcluster’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using SDK: ‘MacOSX14.5.sdk’
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rsample_from.c -o Rsample_from.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c alloc_utils.c -o alloc_utils.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cluster_to_triplets.c -o cluster_to_triplets.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ecm.c -o ecm.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ecm_winit.c -o ecm_winit.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c gss.c -o gss.o
Rsample_from.c:46:9: warning: variable 'totiter' set but not used [-Wunused-but-set-variable]
46 | int totiter = 0;
| ^
1 warning generated.
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c helper_score_smd.c -o helper_score_smd.o
ecm.c:67:9: warning: variable 'iter' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
67 | if (sumtau) {
| ^~~~~~
ecm.c:617:16: note: uninitialized use occurs here
617 | res.iter = iter;
| ^~~~
ecm.c:67:5: note: remove the 'if' if its condition is always true
67 | if (sumtau) {
| ^~~~~~~~~~~
68 | alloctable_add(&head, sumtau, 1, 'A');
69 | first_head = head;
70 | } else {
| ~~~~~~
71 | warning
| ~~~~~~~
72 | ("ecm.c (ERR_MALLOC): not able to allocate clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.o
sumtau (%d)-vector",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | K);
| ~~~
74 | info = -100;
| ~~~~~~~~~~~~
75 | goto output;
| ~~~~~~~~~~~~
76 | }
| ~
ecm.c:90:5: note: variable 'iter' is declared here
90 | int iter = 0;
| ^
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c kmedians.c -o kmedians.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c quickselect.c -o quickselect.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c score_hard.c -o score_hard.o
kmedians.c:78:9: warning: variable 'assigned_cluster' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
78 | if (cluster_marginal)
| ^~~~~~~~~~~~~~~~
kmedians.c:137:10: note: uninitialized use occurs here
137 | free(assigned_cluster);
| ^~~~~~~~~~~~~~~~
kmedians.c:78:5: note: remove the 'if' if its condition is always true
78 | if (cluster_marginal)
| ^~~~~~~~~~~~~~~~~~~~~
79 | alloctable_add(&head, cluster_marginal, 0, 'C');
| ~
80 | else {
| ~~~~~~
81 | warning
| ~~~~~~~
82 | ("kmedians.c (ERR_MALLOC): not able to allocate cluster_marginal (%d)-array",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
83 | N);
| ~~~
84 | success = 0;
| ~~~~~~~~~~~~
85 | goto output;
| ~~~~~~~~~~~~
86 | }
| ~
kmedians.c:66:9: warning: variable 'assigned_cluster' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
66 | if (l1_dist)
| ^~~~~~~
kmedians.c:137:10: note: uninitialized use occurs here
137 | free(assigned_cluster);
| ^~~~~~~~~~~~~~~~
kmedians.c:66:5: note: remove the 'if' if its condition is always true
66 | if (l1_dist)
| ^~~~~~~~~~~~
67 | alloctable_add(&head, l1_dist, 0, 'B');
| ~
68 | else {
| ~~~~~~
69 | warning
| ~~~~~~~
70 | ("kmedians.c (ERR_MALLOC): not able to allocate l1_dist (%d, %d)-array",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 | N, K);
| ~~~~~~
72 | success = 0;
| ~~~~~~~~~~~~
73 | goto output;
| ~~~~~~~~~~~~
74 | }
| ~
kmedians.c:51:9: warning: variable 'assigned_cluster' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
51 | if (MM)
| ^~
kmedians.c:137:10: note: uninitialized use occurs here
137 | free(assigned_cluster);
| ^~~~~~~~~~~~~~~~
kmedians.c:51:5: note: remove the 'if' if its condition is always true
51 | if (MM)
| ^~~~~~~
52 | alloctable_add(&head, MM, 1, 'A');
| ~
53 | else {
| ~~~~~~
54 | warning
| ~~~~~~~
55 | ("kmedians.c (ERR_MALLOC): not able to allocate MM (%d, %d)-array",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | K, P);
| ~~~~~~
57 | success = 0;
| ~~~~~~~~~~~~
58 | goto output;
| ~~~~~~~~~~~~
59 | }
| ~
kmedians.c:90:5: note: variable 'assigned_cluster' is declared here
90 | int *assigned_cluster = malloc(N * sizeof(int)); /* Store cluster memberships */
| ^
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c score_hard_cluster.c -o score_hard_cluster.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c score_smooth.c -o score_smooth.o
3 warnings generated.
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c score_smooth_cluster.c -o score_smooth_cluster.o
1 warning generated.
clang -arch arm64 -std=gnu23 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o qcluster.so Rsample_from.o alloc_utils.o cluster_to_triplets.o ecm.o ecm_winit.o gss.o helper_score_smd.o init.o kmedians.o quickselect.o score_hard.o score_hard_cluster.o score_smooth.o score_smooth_cluster.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/14.2.0 -L/opt/gfortran/lib -lemutls_w -lheapt_w -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/sonoma-arm64/results/4.6/qcluster.Rcheck/00LOCK-qcluster/00new/qcluster/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** 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 (qcluster)