I have a problem with running hierarchical_clustering() function both on R Windows and Linux RStudio server, in both cases this function crashes my R session when I use existing_clustering parameter.



I tried to debug this function, but the problem is at the C level under .Call(Rscc_hierarchical_clustering), probably some
segmentation fault.
Reproducible example here.
My setup:
Red Hat Enterprise Linux release 9.4 (Plow) or Windows 10
R 4.4.1 or RStudio server 2024.09.0 Build 375 with R 4.4.1
scclust version 0.2.5