* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* 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: ‘Debian clang version 19.1.7 (7)’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmppznv2H/R.INSTALL26ed878ef29e0/qcluster/src'
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Rsample_from.c -o Rsample_from.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-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c alloc_utils.c -o alloc_utils.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cluster_to_triplets.c -o cluster_to_triplets.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ecm.c -o ecm.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 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;
| ^
1 warning generated.
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ecm_winit.c -o ecm_winit.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c gss.c -o gss.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c helper_score_smd.c -o helper_score_smd.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c init.c -o init.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kmedians.c -o kmedians.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 */
| ^
3 warnings generated.
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c quickselect.c -o quickselect.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c score_hard.c -o score_hard.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c score_hard_cluster.c -o score_hard_cluster.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c score_smooth.c -o score_smooth.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c score_smooth_cluster.c -o score_smooth_cluster.o
clang-19 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -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 -llapack -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-19/lib -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmppznv2H/R.INSTALL26ed878ef29e0/qcluster/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmppznv2H/R.INSTALL26ed878ef29e0/qcluster/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmppznv2H/R.INSTALL26ed878ef29e0/qcluster/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-qcluster/00new/qcluster/libs
** 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)