Skip to content

rdlearn

0.1.1Package record

Safe Policy Learning under Regression Discontinuity Design with Multiple Cutoffs

0packages depend
2Kdownloads / year
94.2%test coverage
13/13flavors OK

Overview

About

Implements safe policy learning under regression discontinuity designs with multiple cutoffs, based on Zhang et al. (2022) doi:10.48550/arXiv.2208.13323. The learned cutoffs are guaranteed to perform no worse than the existing cutoffs in terms of overall outcomes. The 'rdlearn' package also includes features for visualizing the learned cutoffs relative to the baseline and conducting sensitivity analyses.

Changes in 0.1.1
  • Initial CRAN submission.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 770 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 0.1.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
9 (1 internal)includes a package overview page
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
44%

Downloads

2K
CRAN downloads in the past year
Rank #23,051 · ~6/day · ~169/mo
Daily download trend is not available in this view yet.
23130 days
56690 days
2K1 year
Compare downloads with other packages →
Also on66 r2u2 autocran

Repository

1Stars
0Forks
2Open issues
0Open PRs
0Releases
134Commits
3Commit identities
134 commits · Last activity 2025-02-21
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
222
Median days to close, 50 most recently updated closed PRs
3

Stars over time

2025-02-18 · 12026-07-07 · 1
PracticesBeta

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

Checks run against github.com/kkawato/rdlearn on 2026-10-18.

Docs source (1)
README.Rmd
Reproducibility and dev environment (2)
data-raw/Dev Container
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing rdlearn adds 27 packages (12 with compiled code, 16 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 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 (5)
Maintainer since 0.1.1 (2025), Copyright holder
Author
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.1Latest
    2025-01-29 · current release
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-01-29
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
37 KB / 3 files
Download size
363 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rdlearn")
Kawato, K., Ben-Michael, E., Imai, K., Yamauchi, S., & Zhang, Y. (2025). rdlearn: Safe Policy Learning under Regression Discontinuity Design with Multiple Cutoffs (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.rdlearn

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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

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