Skip to content

halfmoon

0.2.0

Techniques to Build Better Balance

0packages depend
5.7Kdownloads / year
90.1%test coverage
13/13checks pass

Overview

About
Maintained by Malcolm BarrettFirst published 2023-05-302 releasesCRAN page ↗GitHub ↗

Build better balance in causal inference models. 'halfmoon' helps you assess propensity score models for balance between groups using metrics like standardized mean differences and visualization techniques like mirrored histograms. 'halfmoon' supports both weighting and matching techniques.

Install

Health

CRAN checks
13OK
Slowest check: 6.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 4.40
90.1%
Coverage · measured lines
100%
Documentation · exports
14
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-05-29
    10 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 375 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
97%
Documented parameters
98%
Return-value docs
97%
References docs
7%

Downloads

5.7K
CRAN downloads in the past year
Rank #4,965 · ~16/day · ~475/mo
Daily download trend is not available in this view yet.
27530 days
1.6K90 days
5.7K1 year
Compare downloads with other packages →
Also on112 r2u13 autocran

Repository

Repository
23Stars
4Forks
1Open issues
1Open PRs
2Releases
333Commits
3Contributors
333 commits · Last activity 2026-07-30 · +4.5% stars, 30d

Stars over time

2026-07-14 · 222026-07-16 · 23

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/r-causal/halfmoon on 2026-08-09.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
Docs source (1)
README.Rmd
Lint, format, editor (3)
AirVS CodeRStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2025-07-17

claudecopilot

Most recent: copilot on 2025-07-27

Evidence
  • claude: on 2025-07-17 · evidence D
  • copilot: on 2025-07-27 · evidence A, PR · sole bot-author seen
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

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

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0Latest
    2026-03-04 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.0
    2023-05-30
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-05-30
Total releases
2 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
166 KB / 1 file
Download size
1.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("halfmoon")
Barrett, M. (2026). halfmoon: Techniques to Build Better Balance (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.halfmoon

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

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