Skip to content

leidenbase

0.1.37

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

2packages depend
331.6Kdownloads / year
2.8%test coverage
13/13checks pass

Overview

About
Maintained by Brent EwingFirst published 2022-02-2216 releasesCRAN page ↗GitHub ↗

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.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1,259.95
2.8%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-24
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-05-13
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
89%
Return-value docs
100%
References docs
100%

Downloads

331.6K
CRAN downloads in the past year
Rank #819 · ~908/day · ~27.6K/mo
Daily download trend is not available in this view yet.
14.1K30 days
58.4K90 days
331.6K1 year
Compare downloads with other packages →
Also on4.3K r2u27 autocran99.8K conda_forge11.7K bioconda

Repository

Repository
15Stars
13Forks
13Open issues
2Open PRs
4Releases
30Commits
3Contributors
30 commits · Last activity 2026-05-20 · 0% stars, 30d

Stars over time

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

Repository practices

Upstream repositoryBeta

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-08-23.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

People & History

People (6)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (5)
Contributor
Contributor
Contributor
Contributor
Contributor
Package Timeline

16 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.1.37Latest
    2026-05-20 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.36
    2025-12-16 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.35
    2025-04-02 · diff ↗
  • 0.1.32
    2025-02-06 · diff ↗
  • 0.1.31
    2024-09-26 · diff ↗
  • unarchivedReturned to CRAN
    2024-09-26
  • archivedRemoved from CRAN
    2024-09-25
    email to the maintainer is undeliverable
  • 0.1.30
    2024-07-11 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.27
    2023-12-01 · diff ↗
  • 0.1.25
    2023-07-19 · diff ↗
  • 0.1.23
    2023-07-16 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.18
    2023-04-15 · diff ↗
Show 8 earlier events
  • 0.1.17
    2023-04-13 · diff ↗
  • 0.1.14
    2022-12-14 · diff ↗
  • 0.1.12
    2022-09-29 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.11
    2022-03-28 · diff ↗
  • 0.1.9
    2022-03-10 · diff ↗
  • 0.1.8
    2022-02-22
  • R
    R 4.1.0 released · 2021-05-18

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
Installed size
not tracked yet
With dependencies
not tracked yet

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 is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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-08-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-25, 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