Skip to content

aricode

1.1.0Package record

Efficient Computations of Standard Clustering Comparison Measures

8packages dependsuggested by 6
53.1Kdownloads / year
81.6%test coverage
13/13flavors OK

Overview

About

Implements an efficient O(n) algorithm based on bucket-sorting for fast computation of standard clustering comparison measures. Available measures include adjusted Rand index (ARI), normalized information distance (NID), normalized mutual information (NMI), normalized variation information (NVI) and entropy, as described in Vinh et al (2009) doi:10.1145/1553374.1553511. Include AMI (Adjusted Mutual Information) since version 0.1.2, a modified version of ARI (MARI), as described in Sundqvist et al. doi:10.1007/s00180-022-01230-7 and simple Chi-square distance since version 1.0.0.

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.0
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · does not mention 1.1.0Citation fileNo
Help pages
16 (4 internal)includes a package overview page
Examples that run
100%15 run in a plain check
Exported functions with examples
100%
Documented parameters
80%
Return-value docs
80%
Help pages citing references
19%

Downloads

53.1K
CRAN downloads in the past year
Rank #1,470 · ~146/day · ~4.4K/mo
Daily download trend is not available in this view yet.
4.9K30 days
17.3K90 days
53.1K1 year
Compare downloads with other packages →
Also on1.4K r2u37 autocran4.4K conda_forge110 c2d4u

Repository

30Stars
3Forks
0Open issues
0Open PRs
5Releases
137Commits
8Commit identities
clustering-comparison-measuresclusteringbucket-sort
137 commits · Last activity 2026-05-13 · +3.4% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
67%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
9

Stars over time

2025-09-03 · 272026-10-15 · 30
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/jchiquet/aricode on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.qmdpkgdown

GitHub Pages site last deployed 2026-05-18 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing aricode adds 4 packages (3 with compiled code, 3.3 MB of source tarballs). Heaviest: Rcpp 1.8 MB, rlang 766 KB, cli 629 KB.

Depends (0)
none
Imports (3)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
8direct
5indirect
Imports 8
Suggested by 6
Show all 14 packagesHide all 14 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (5)
Author, Maintainer since 0.1.1 (2018)
Author · added in 1.0.0
Contributor · added in 1.0.2
Releases (7)

Pick two releases to compare their code metrics.

  • 1.1.0Latest
    record
    2026-05-13 · current release · diff ↗ ·
    added 3 exports
    Frobenius, compare_clustering, sort_pairs
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.3
    record
    2023-10-20 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.2
    record
    2022-12-14 · diff ↗
  • 1.0.1
    record
    2022-09-05 · diff ↗
  • 1.0.0
    record
    2022-09-04 · diff ↗ ·
    added 3 exports
    Chi2, MARI, MARIraw
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.2
    record
    2019-06-29 · diff ↗ ·
    added 1 export
    AMI
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.1
    record
    2018-05-02
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-05-02
Total releases
7 / 8 yrs
License
GPL (>= 3) OSI
Download size
17 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("aricode")
Chiquet, J., Bersani, F., Dervieux, V., Rigaill, G., & Sundqvist, M. (2026). aricode: Efficient Computations of Standard Clustering Comparison Measures (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.aricode

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 aricode version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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