Skip to content

leidenbase

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

v0.1.37 · May 19, 2026 · GPL-3

Description

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.

Downloads

CRAN

20.9K

Last 30 days

801st

59.2K

Last 90 days

363K

Last year

Trend: +9.5% (30d vs prior 30d)

r2u CRAN

272

Last 30 days

729

Last 90 days

5.1K

Last year

Trend: +23.1% (30d vs prior 30d)

autoCRAN

1

Last 7 days

18

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
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 History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 24, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE May 13, 2026
WARNING r-devel-linux-x86_64-debian-gcc

whether package can be installed

Found the following significant warnings:
  Warning: Obsolescent feature: Old-style character length at (1)
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/leidenbase.Rcheck/00install.out’ for details.
* used C++ compiler: ‘g++-16 (Debian 16-20260425-1) 16.0.1 20260425 (prerelease) [gcc-16 r16-8812-gd9c07462a22]’
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 16.2Mb
  sub-directories of 1Mb or more:
    libs  15.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 17.7Mb
  sub-directories of 1Mb or more:
    libs  17.3Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    libs   5.5Mb

Reverse Dependencies (2)

suggests

Dependency Network

Dependencies Reverse dependencies igraph ClustAssess Seurat leidenbase

Version History

17 tracked
updated 0.1.37 ← 0.1.36 diff May 19, 2026
new 0.1.36 Mar 10, 2026
updated 0.1.36 ← 0.1.35 diff Dec 15, 2025
updated 0.1.35 ← 0.1.32 diff Apr 1, 2025
updated 0.1.32 ← 0.1.31 diff Feb 5, 2025
updated 0.1.31 ← 0.1.30 diff Sep 25, 2024
updated 0.1.30 ← 0.1.27 diff Jul 10, 2024
updated 0.1.27 ← 0.1.25 diff Nov 30, 2023
updated 0.1.25 ← 0.1.23 diff Jul 18, 2023
updated 0.1.23 ← 0.1.18 diff Jul 15, 2023
updated 0.1.18 ← 0.1.17 diff Apr 14, 2023
updated 0.1.17 ← 0.1.14 diff Apr 12, 2023
updated 0.1.14 ← 0.1.12 diff Dec 13, 2022
updated 0.1.12 ← 0.1.11 diff Sep 28, 2022
updated 0.1.11 ← 0.1.9 diff Mar 27, 2022