R and C/C++ Wrappers to Run the Leiden find_partition() Function
Overview
An R to C/C++ interface that runs the Leiden community detection algorithm to find a basic partition (). It runs the equivalent of the 'leidenalg' find_partition() function, which is given in the 'leidenalg' distribution file 'leiden/src/functions.py'. This package includes the required source code files from the official 'leidenalg' distribution and functions from the R 'igraph' package. The 'leidenalg' distribution is available from https://github.com/vtraag/leidenalg/ and the R 'igraph' package is available from https://igraph.org/r/. The Leiden algorithm is described in the article by Traag et al. (2019) doi:10.1038/s41598-019-41695-z. Leidenbase includes code from the packages: igraph version 0.9.8 with license GPL (>= 2), leidenalg version 0.8.10 with license GPL 3.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-24
- WARNING12 OK, 1 WARNING2026-05-13
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 1
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 89%
- Return-value docs
- 100%
- Help pages citing references
- 100%
- leidenbase HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 22
- Median days to close, 50 most recently updated closed PRs
- 7
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/cole-trapnell-lab/leidenbase on 2026-10-25.
Dependencies
Installing leidenbase adds 9 packages (6 with compiled code, 8.0 MB of source tarballs). Heaviest: igraph 4.8 MB, vctrs 1.0 MB, rlang 766 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.1.37Latest
- RR 4.6.0 released · 2026-04-24
- 0.1.362025-12-16 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.1.352025-04-02 · diff ↗
- 0.1.322025-02-06 · diff ↗
- unarchivedReturned to CRAN2024-09-26
- 0.1.312024-09-26 · diff ↗
- archivedRemoved from CRAN2024-09-25email to the maintainer is undeliverable
- 0.1.302024-07-11 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.1.272023-12-01 · diff ↗
- 0.1.252023-07-19 · diff ↗
- 0.1.232023-07-16 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.1.182023-04-15 · diff ↗
Package metadata
- First published
- 2022-02-22
- Total releases
- 16 / 4 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 3.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("leidenbase")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.