I'm trying to figure this out myself, but no luck yet.
# test.R
library(philentropy)
m <- matrix(runif(1500 * 10), nrow = 1500)
JSD(m)
$ /usr/local/bin/Rscript test.R
Jensen-Shannon Divergence using unit 'log2'.
Metric: 'jensen-shannon' using unit: 'log2'.
Error: segfault from C stack overflow
Execution halted