Skip to content

fairadapt

1.0.0Package record

Fair Data Adaptation with Quantile Preservation

0packages depend
3.8Kdownloads / year
63.8%test coverage
12/13flavors OK

Overview

About

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.

Changes in 1.0.0

Non-breaking changes:

  • vignette updates follows the release of the article in Journal of Statistical Software

From NEWS.md in the release

Install

Health

CRAN checks
1ERROR12OK
Check messages
ERRORre-building of vignette outputsr-oldrel-macos-arm64
Error(s) in re-building vignettes:
--- re-building ‘jss.Rmd’ using rmarkdown
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 bbm10
mkdir: ././opt/tex/texmf-var/fonts/pk/ljfour/public: Permission denied
mktexpk: /opt/tex/texmf-dist/web2c/mktexdir /opt/tex/texmf-var/fonts/pk/ljfour/public/bbm failed.
kpathsea: Appending font creation commands to missfont.log.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 bbm10
mkdir: ././opt/tex/texmf-var/fonts/pk/ljfour/public: Permission denied
mktexpk: /opt/tex/texmf-dist/web2c/mktexdir /opt/tex/texmf-var/fonts/pk/ljfour/public/bbm failed.
kpathsea: Appending font creation commands to missfont.log.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 bbm10
mkdir: ././opt/tex/texmf-var/fonts/pk/ljfour/public: Permission denied
mktexpk: /opt/tex/texmf-dist/web2c/mktexdir /opt/tex/texmf-var/fonts/pk/ljfour/public/bbm failed.
kpathsea: Appending font creation commands to missfont.log.
Error: processing vignette 'jss.Rmd' failed with diagnostics:
LaTeX failed to compile /Volumes/Builds/packages/big-sur-arm64/results/4.5/fairadapt.Rcheck/vign_test/fairadapt/vignettes/jss.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips.
--- failed re-building ‘jss.Rmd’

SUMMARY: processing the following file failed:
  ‘jss.Rmd’

Error: Vignette re-building failed.
Execution halted

CRAN check page ↗

Slowest check: 6.1 min · r-release-macos-x86_64
Status changes
  • ERROR12 OK, 1 ERRORNow
  • ERROR13 OK, 1 ERROR2026-03-10
Advisories

none known

Documentation

In release 1.0.0
READMEYes · 194 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.0Citation fileYes · cites a publication
Cites a JSS article
Help pages
19 (1 internal)includes a package overview page
Examples that run
100%7 run in a plain check
Exported functions with examples
56%
Documented parameters
90%
Return-value docs
89%
Help pages citing references
11%

Downloads

3.8K
CRAN downloads in the past year
Rank #7,064 · ~10/day · ~318/mo
Daily download trend is not available in this view yet.
44130 days
1.2K90 days
3.8K1 year
Compare downloads with other packages →
Also on103 r2u8 autocran

Repository

2Stars
2Forks
0Open issues
0Open PRs
0Releases
211Commits
7Commit identities
fairnesscausal-inferencermachine-learning
License file reads as GPL-3.0 · 211 commits · Last activity 2024-09-03
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
77
Median days to close, 50 most recently updated closed PRs
2

Stars over time

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

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

Checks run against github.com/dplecko/fairadapt on 2026-10-22.

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.Rmdpkgdown

GitHub Pages site last deployed 2022-07-01 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing fairadapt adds 29 packages (14 with compiled code, 26 MB of source tarballs). Heaviest: ggplot2 6.0 MB, igraph 4.8 MB, Rcpp 1.8 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2019)
Author · added in 0.2.1
Releases (10)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.0Latest
    record
    2024-09-06 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2023-10-09
  • 0.2.7
    record
    2023-10-09 · diff ↗
  • archivedRemoved from CRAN
    2023-09-19
    issues were not corrected despite reminders
  • 0.2.6
    record
    2023-08-18 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.5
    record
    2023-03-23 · diff ↗
  • 0.2.4
    record
    2022-07-01 · diff ↗
  • 0.2.3
    record
    2022-06-22 · diff ↗
  • 0.2.2
    record
    2022-04-28 · diff ↗ ·
    added 2 exports
    fairadaptBoot, quantFit
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.1
    record
    2021-10-19 · diff ↗
  • 0.2.0
    record
    2021-07-28 · diff ↗ ·
    added 8 exports
    adaptedData, computeQuants, fairTwins, graphModel, linearQuants, mcqrnnQuants, rangerQuants, visualizeGraph
Show 4 earlier eventsHide 4 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    record
    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

Cite

Cite this package

Run in R for the authors' entry:

citation("fairadapt")

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

It points to 10.18637/jss.v110.i04.

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-10-23. https://doi.org/10.5281/zenodo.21843040

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