Skip to content

fairadapt

1.0.0

Fair Data Adaptation with Quantile Preservation

0packages depend
3.7Kdownloads / year
63.8%test coverage
12/13checks pass

Overview

About
Maintained by Drago PleckoFirst published 2019-11-2810 releasesCRAN page ↗GitHub ↗

An implementation of the fair data adaptation with quantile preservation described in Plecko & Meinshausen (JMLR 2020, 21(242), 1-44). The adaptation procedure uses the specified causal graph to pre-process the given training and testing data in such a way to remove the bias caused by the protected attribute. The procedure uses tree ensembles for quantile regression. Instructions for using the methods are further elaborated in the corresponding JSS manuscript, see doi:10.18637/jss.v110.i04.

Install

Health

CRAN checks
1ERROR12OK
Failing flavors
  • ERROR r-oldrel-macos-arm64
Slowest check: 6.1 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 1.18
63.8%
Coverage · measured lines
100%
Documentation · exports
8
Dependencies · direct
Check history
  • ERROR2026-03-10
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 194 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
90%
Return-value docs
89%
References docs
11%

Downloads

3.7K
CRAN downloads in the past year
Rank #10,536 · ~10/day · ~306/mo
Daily download trend is not available in this view yet.
30530 days
93090 days
3.7K1 year
Compare downloads with other packages →
Also on148 r2u8 autocran

Repository

Repository
2Stars
2Forks
0Open issues
0Open PRs
0Releases
206Commits
7Contributors
fairnesscausal-inferencermachine-learning
License GPL-3.0 · 206 commits · Last activity 2023-08-18

Stars over time

2023-10-17 · 22026-07-07 · 2

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/dplecko/fairadapt on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 0.2.1
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.0Latest
    2024-09-06 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.7
    2023-10-09 · diff ↗
  • unarchivedReturned to CRAN
    2023-10-09
  • archivedRemoved from CRAN
    2023-09-19
    issues were not corrected despite reminders
  • 0.2.6
    2023-08-18 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.5
    2023-03-23 · diff ↗
  • 0.2.4
    2022-07-01 · diff ↗
  • 0.2.3
    2022-06-22 · diff ↗
  • 0.2.2
    2022-04-28 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.1
    2021-10-19 · diff ↗
  • 0.2.0
    2021-07-28 · diff ↗
Show 4 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    2019-11-28
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-11-28
Total releases
10 / 7 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Bundled data
1.3 MB / 3 files
Download size
1.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("fairadapt")
Plecko, D., & Bennett, N. (2024). fairadapt: Fair Data Adaptation with Quantile Preservation (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.fairadapt

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 fairadapt version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

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