Package check result: OK Changes to worse in reverse depends: Package: leidenAlg Check: tests New result: ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(leidenAlg) Loading required package: Matrix > > testthat::test_check("leidenAlg") Saving _problems/test_functions-11.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_functions.R:11:2'): rleiden.community() functionality ────────── Error in `FUN(X[[i]], ...)`: 'merge' and 'height' do not fit! Backtrace: ▆ 1. ├─base::suppressWarnings(rleiden.community(exampleGraph, n.cores = 1)) at test_functions.R:11:9 2. │ └─base::withCallingHandlers(...) 3. └─leidenAlg::rleiden.community(exampleGraph, n.cores = 1) 4. └─sccore::plapply(...) 5. └─base::lapply(...) 6. └─leidenAlg (local) FUN(X[[i]], ...) 7. └─leidenAlg::rleiden.community(...) 8. └─base::lapply(wtl, as.dendrogram) 9. ├─stats (local) FUN(X[[i]], ...) 10. └─igraph:::as.dendrogram.communities(X[[i]], ...) 11. └─cli::cli_abort("'merge' and 'height' do not fit!") 12. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ] Error: ! Test failures. Execution halted