Skip to content

bunching

0.8.6

Estimate Bunching

0packages depend
3.4Kdownloads / year
85.7%test coverage
12/13checks pass

Overview

About
Maintained by Panos MavrokonstantisFirst published 2019-09-232 releasesCRAN page ↗GitHub ↗

Implementation of the bunching estimator for kinks and notches. Allows for flexible estimation of counterfactual (e.g. controlling for round number bunching, accounting for other bunching masses within bunching window, fixing bunching point to be minimum, maximum or median value in its bin, etc.). It produces publication-ready plots in the style followed since Chetty et al. (2011) doi:10.1093/qje/qjr013, with lots of functionality to set plot options.

Install

Health

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

Documentation

Documentation
READMEYes · 209 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
92%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

3.4K
CRAN downloads in the past year
Rank #11,324 · ~9/day · ~282/mo
Daily download trend is not available in this view yet.
25130 days
88090 days
3.4K1 year
Compare downloads with other packages →
Also on112 r2u48 autocran

Repository

Repository
5Stars
1Forks
0Open issues
0Open PRs
0Releases
255Commits
2Contributors
255 commits · Last activity 2023-01-24

Stars over time

2024-05-30 · 42026-07-07 · 5

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/mavpanos/bunching on 2026-08-23.

Continuous integration (2)
GitHub ActionsTravis CI
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Imports (0)
none
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
Authors (1)
Author, Maintainer
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
  • 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
  • 0.8.6Latest
    2022-08-24 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.8.4
    2019-09-23
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-09-23
Total releases
2 / 7 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Bundled data
2.4 KB / 1 file
Download size
519 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("bunching")
Mavrokonstantis, P. (2022). bunching: Estimate Bunching (Version 0.8.6) [Computer software]. https://doi.org/10.32614/CRAN.package.bunching

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 bunching version 0.8.6 [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