Skip to content

genieclust

Genie: Fast and Robust Hierarchical Clustering

v1.3.0 · Feb 23, 2026 · AGPL-3

Description

Genie is a robust hierarchical clustering algorithm (Gagolewski, Bartoszuk, Cena, 2016 <DOI:10.1016/j.ins.2016.05.003>). 'genieclust' is its faster, more capable implementation (Gagolewski, 2021 <DOI:10.1016/j.softx.2021.100722>). It enables clustering with respect to mutual reachability distances, allowing it to act as an alternative to 'HDBSCAN*' that can identify any number of clusters or their entire hierarchy. When combined with the 'deadwood' package, it can act as an outlier detector. Additional package features include the Gini and Bonferroni inequality indices, external cluster validity measures (e.g., the normalised clustering accuracy, the adjusted Rand index, the Fowlkes-Mallows index, and normalised mutual information), and internal cluster validity indices (e.g., the Calinski-Harabasz, Davies-Bouldin, Ball-Hall, Silhouette, and generalised Dunn indices). The 'Python' version of 'genieclust' is available via 'PyPI'.

Downloads

CRAN

1.9K

Last 30 days

2799th

3K

Last 90 days

11.4K

Last year

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

r2u CRAN

299

Last 30 days

906

Last 90 days

5.5K

Last year

Trend: -29.3% (30d vs prior 30d)

autoCRAN

3

Last 7 days

11

Last 30 days

2

All-time

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

conda-forge CRAN

226

Last 30 days

733

Last 90 days

5K

Last year

Trend: -28.3% (30d vs prior 30d)

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/genieclust.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

9,664

Files

48

Compiled share

84.1%

Has compiled src

Yes

Language breakdown

R 866 (9%)C/C++/src 8,130 (84.1%)Docs 668 (6.9%)

API

Exported functions

26

Internal functions

9

Recent export changes

v1.3.0−1 mst
v1.2.0−1 emst_mlpack

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

1

C++ standard

License

AGPL-3

License flags

SPDX valid, OSI approved

History

Versions

12

First release

2020-07-30

Latest release

2026-02-23

Avg cadence

159 days

Cold removal rate

100%

Dep drift

3

LOC over versions

v0.9.3: 6,580 LOCv0.9.4: 6,580 LOCv0.9.7: 6,618 LOCv0.9.8: 6,607 LOCv1.0.0: 6,606 LOCv1.0.1: 6,760 LOCv1.1.0: 11,132 LOCv1.1.3: 11,172 LOCv1.1.5-2: 11,274 LOCv1.1.6: 11,300 LOCv1.2.0: 11,732 LOCv1.3.0: 9,664 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (7)

depends

Dependency Network

Dependencies Reverse dependencies Rcpp deadwood genie Kmedians RGMM evoFE modACDC mlr3cluster partition genieclust

Version History

13 tracked
new 1.3.0 Mar 10, 2026
updated 1.3.0 ← 1.2.0 diff Feb 22, 2026
updated 1.2.0 ← 1.1.6 diff Jul 23, 2025
updated 1.1.6 ← 1.1.5-2 diff Aug 21, 2024
updated 1.1.5-2 ← 1.1.3 diff Oct 17, 2023
updated 1.1.3 ← 1.1.0 diff Jan 16, 2023
updated 1.1.0 ← 1.0.1 diff Sep 4, 2022
updated 1.0.1 ← 1.0.0 diff Aug 7, 2022
updated 1.0.0 ← 0.9.8 diff Apr 21, 2021
updated 0.9.8 ← 0.9.7 diff Jan 7, 2021
updated 0.9.7 ← 0.9.4 diff Jan 6, 2021
updated 0.9.4 ← 0.9.3 diff Jul 31, 2020
new 0.9.3 Jul 29, 2020