* installing *source* package ‘qcluster’ ...
** package ‘qcluster’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -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 -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 -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 -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
ecm.c:67:9: warning: variable 'iter' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    if (sumtau) {
        ^~~~~~
ecm.c:617:16: note: uninitialized use occurs here
    res.iter = iter;
               ^~~~
ecm.c:67:5: note: remove the 'if' if its condition is always true
    if (sumtau) {
    ^~~~~~~~~~~~
ecm.c:90:5: note: variable 'iter' is declared here
    int iter = 0;
    ^
1 warning generated.
clang -arch arm64 -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 -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
clang -arch arm64 -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
clang -arch arm64 -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
clang -arch arm64 -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
kmedians.c:78:9: warning: variable 'assigned_cluster' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    if (cluster_marginal)
        ^~~~~~~~~~~~~~~~
kmedians.c:137:10: note: uninitialized use occurs here
    free(assigned_cluster);
         ^~~~~~~~~~~~~~~~
kmedians.c:78:5: note: remove the 'if' if its condition is always true
    if (cluster_marginal)
    ^~~~~~~~~~~~~~~~~~~~~
kmedians.c:66:9: warning: variable 'assigned_cluster' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    if (l1_dist)
        ^~~~~~~
kmedians.c:137:10: note: uninitialized use occurs here
    free(assigned_cluster);
         ^~~~~~~~~~~~~~~~
kmedians.c:66:5: note: remove the 'if' if its condition is always true
    if (l1_dist)
    ^~~~~~~~~~~~
kmedians.c:51:9: warning: variable 'assigned_cluster' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    if (MM)
        ^~
kmedians.c:137:10: note: uninitialized use occurs here
    free(assigned_cluster);
         ^~~~~~~~~~~~~~~~
kmedians.c:51:5: note: remove the 'if' if its condition is always true
    if (MM)
    ^~~~~~~
kmedians.c:90:5: note: variable 'assigned_cluster' is declared here
    int *assigned_cluster = malloc(N * sizeof(int));    /* Store cluster memberships */
    ^
3 warnings generated.
clang -arch arm64 -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 -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
clang -arch arm64 -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 -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
clang -arch arm64 -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
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 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/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/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)