Skip to content

fairmetrics

1.0.8Package record

Fairness Evaluation Metrics with Confidence Intervals for Binary Protected Attributes

0packages depend
3.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

A collection of functions for computing fairness metrics for machine learning and statistical models, including confidence intervals for each metric. The package supports the evaluation of group-level fairness criterion commonly used in fairness research, particularly in healthcare for binary protected attributes. It is based on the overview of fairness in machine learning written by Gao et al (2025) doi:10.1002/sim.70234.

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.8
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSNoCitation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JOSS paper
Help pages
15
Examples that run
0%13 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.5K
CRAN downloads in the past year
Rank #9,887 · ~10/day · ~292/mo
Daily download trend is not available in this view yet.
34730 days
1K90 days
3.5K1 year
Compare downloads with other packages →
Also on85 r2u4 autocran

Repository

4Stars
1Forks
2Open issues
0Open PRs
9Releases
401Commits
6Commit identities
401 commits · Last activity 2026-09-28
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
14
Median days to close, 50 most recently updated closed PRs
0

Commits over time

2026-07-19 · 4002026-10-04 · 401
PracticesBeta

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

Checks run against github.com/jianhuig/fairmetrics on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (1)
Contributing guide
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-28 · The repository has a site deploy workflow

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 v4 (2026-10-20)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing fairmetrics adds no packages beyond those that come with R.

Depends (1)
R >= 3.5.0
Imports (1)
stats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 1.0.0 (2025)
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.8Latest
    record
    2026-04-16 · current release · diff ↗
  • 1.0.7
    record
    2025-10-06 · diff ↗
  • 1.0.6
    record
    2025-09-11 · diff ↗
  • 1.0.5
    record
    2025-09-05 · diff ↗ ·
    removed 1 export
    eval_cond_stats_parity
  • 1.0.4
    record
    2025-07-23 · diff ↗
  • 1.0.3
    record
    2025-06-12 · diff ↗
  • 1.0.2
    record
    2025-06-05 · diff ↗ ·
    removed 1 export
    get_all_metrics
  • 1.0.1
    record
    2025-06-01 · diff ↗ ·
    removed 1 export
    eval_pred_parity
    added 2 exports
    eval_neg_pred_parity, eval_pos_pred_parity
  • 1.0.0
    record
    2025-05-19
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-05-19
Total releases
9 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
155 KB / 2 files
Download size
195 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("fairmetrics")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.21105/joss.08497, 10.1002/sim.70234.

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

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