Skip to content

gapclosing

1.0.3Package record

Estimate Gaps Under an Intervention

0packages depend
2.9Kdownloads / year
43.6%test coverage
13/13flavors OK

Overview

About

Provides functions to estimate the disparities across categories (e.g. Black and white) that persists if a treatment variable (e.g. college) is equalized. Makes estimates by treatment modeling, outcome modeling, and doubly-robust augmented inverse probability weighting estimation, with standard errors calculated by a nonparametric bootstrap. Cross-fitting is supported. Survey weights are supported for point estimation but not for standard error estimation; those applying this package with complex survey samples should consult the data distributor to select an appropriate approach for standard error construction, which may involve calling the functions repeatedly for many sets of replicate weights provided by the data distributor. The methods in this package are described in the accompanying paper: doi:10.1177/00491241211055769.

Install

Health

CRAN checks
13OK
Slowest check: 8.6 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-05-24
  • ERROR5 OK, 9 ERROR2026-03-10
Advisories

none known

Documentation

In release 1.0.3
READMEYes · 194 wordsVignettesYes · 1 · dynamicNEWSNoCitation fileYes · cites a publicationWebsiteYes
Help pages
13 (1 internal)
Examples that run
100%4 run in a plain check
Exported functions with examples
33%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
92%
Vignettes (1)

Downloads

2.9K
CRAN downloads in the past year
Rank #9,435 · ~8/day · ~245/mo
Daily download trend is not available in this view yet.
36330 days
1K90 days
2.9K1 year
Compare downloads with other packages →
Also on72 r2u5 autocran

Repository

8Stars
4Forks
0Open issues
0Open PRs
0Releases
101Commits
5Commit identities
101 commits · Last activity 2026-05-22 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
1,118
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-06-28 · 72026-07-07 · 8
PracticesBeta

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

Checks run against github.com/ilundberg/gapclosing on 2026-10-22.

Continuous integration (1)
GitHub Actions
Docs source (1)

GitHub Pages site last deployed 2026-05-22

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing gapclosing adds 41 packages (20 with compiled code, 36 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, glmnet 2.7 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 1.0.1 (2021)
Releases (3)

Pick two releases to compare their code metrics.

  • unarchivedReturned to CRAN
    2026-05-23
  • 1.0.3Latest
    record
    2026-05-23 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • archivedRemoved from CRAN
    2026-03-18
    issues were not corrected despite reminders
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • unarchivedReturned to CRAN
    2021-10-11
  • 1.0.2
    record
    2021-10-11 · diff ↗
  • archivedRemoved from CRAN
    2021-10-05
    check problems were not corrected in time
  • 1.0.1
    record
    2021-09-06
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-09-06
Total releases
3 / 5 yrs
License
MIT + file LICENSE OSI
Download size
555 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("gapclosing")

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

It points to 10.31235/osf.io/gx4y3.

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

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