Skip to content

leidenbase

0.1.37Package record

R and C/C++ Wrappers to Run the Leiden find_partition() Function

0packages dependsuggested by 2
267.6Kdownloads / year
2.8%test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 11.7 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.1.37
READMENoVignettesYes · 1 · dynamicNEWSYes · 100% structured · does not mention 0.1.37Citation fileNoWebsitenot declared in DESCRIPTION
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%
Vignettes (1)

Downloads

267.6K
CRAN downloads in the past year
Rank #963 · ~733/day · ~22.3K/mo
Daily download trend is not available in this view yet.
12.7K30 days
42.3K90 days
267.6K1 year
Compare downloads with other packages →
Also on5.5K r2u1 autocran129.3K conda_forge11.4K bioconda

Repository

15Stars
13Forks
13Open issues
2Open PRs
4Releases
30Commits
3Commit identities
30 commits · Last activity 2025-02-07 · 0% stars, 30d · The default branch showed an older version (0.1.32) than CRAN on 2026-10-25
Responsiveness
How these are sampled
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

2023-05-25 · 132026-07-07 · 15
PracticesBeta

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.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5.0
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

People & History

People (6)
Author, Maintainer since 0.1.8 (2022)
Contributor
Contributor
Contributor
Contributor
Contributor
Releases (16)

Pick two releases to compare their code metrics.

Show 8 earlier eventsHide 8 earlier events

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")
Ewing, B., Csárdi, G., Horvat, S., Nepusz, T., Traag, V., & Zanini, F. (2026). leidenbase: R and C/C++ Wrappers to Run the Leiden find_partition() Function (Version 0.1.37) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for leidenbase version 0.1.37 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy