leidenAlg
Implements the Leiden Algorithm via an R Interface
Description
An R interface to the Leiden algorithm, an iterative community detection algorithm on networks. The algorithm is designed to converge to a partition in which all subsets of all communities are locally optimally assigned, yielding communities guaranteed to be connected. The implementation proves to be fast, scales well, and can be run on graphs of millions of nodes (as long as they can fit in memory). The original implementation was constructed as a python interface "leidenalg" found here: <https://github.com/vtraag/leidenalg>. The algorithm was originally described in Traag, V.A., Waltman, L. & van Eck, N.J. "From Louvain to Leiden: guaranteeing well-connected communities". Sci Rep 9, 5233 (2019) <doi:10.1038/s41598-019-41695-z>.
Downloads
3.8K
Last 30 days
2049th
8.3K
Last 90 days
36K
Last year
Trend: +71.1% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | ERROR |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (4 non-OK)
whether package can be installed
Installation failed. See ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/leidenAlg.Rcheck/00install.out’ for details.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
Check History
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
whether package can be installed
Installation failed. See ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/leidenAlg.Rcheck/00install.out’ for details.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 26, 2026
tests
Running ‘testthat.R’ [4s/5s]
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 | WAR
...[truncated]...
ph:::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
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.