Skip to content

dapper

1.1.0

Data Augmentation for Private Posterior Estimation

1packages depend
4.6Kdownloads / year
92.5%test coverage
13/13checks pass

Overview

About
Maintained by Kevin EngFirst published 2024-07-093 releasesCRAN page ↗GitHub ↗

A data augmentation based sampler for conducting privacy-aware Bayesian inference. The dapper_sample() function takes an existing sampler as input and automatically constructs a privacy-aware sampler. The process of constructing a sampler is simplified through the specification of four independent modules, allowing for easy comparison between different privacy mechanisms by only swapping out the relevant modules. Probability mass functions for the discrete Gaussian and discrete Laplacian are provided to facilitate analyses dealing with privatized count data. The output of dapper_sample() can be analyzed using many of the same tools from the 'rstan' ecosystem. For methodological details on the sampler see Ju et al. (2022) doi:10.48550/arXiv.2206.00710, and for details on the discrete Gaussian and discrete Laplacian distributions see Canonne et al. (2020) doi:10.48550/arXiv.2004.00010.

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.32
92.5%
Coverage · measured lines
100%
Documentation · exports
7
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-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

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

Downloads

4.6K
CRAN downloads in the past year
Rank #15,797 · ~13/day · ~381/mo
Daily download trend is not available in this view yet.
22830 days
66890 days
4.6K1 year
Compare downloads with other packages →
Also on129 r2u9 autocran

Repository

Repository
2Stars
0Forks
3Open issues
0Open PRs
0Releases
162Commits
2Contributors
162 commits · Last activity 2026-02-01

Stars over time

2024-11-07 · 22026-07-07 · 2

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/mango-empire/dapper on 2026-08-09.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

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

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    2026-02-02 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.1
    2024-10-29 · diff ↗
  • 1.0.0
    2024-07-09
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-07-09
Total releases
3 / 2 yrs
License
MIT + file LICENSE OSI
Download size
11 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dapper")
Eng, K. (2026). dapper: Data Augmentation for Private Posterior Estimation (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.dapper

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

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