Skip to content

rdlocrand

3.0Package record

Local Randomization Methods for RD Designs

0packages depend
14.4Kdownloads / year
75.5%test coverage
13/13flavors OK

Overview

About

Provides tools to perform randomization inference for RD designs under local randomization: rdrandinf() to perform hypothesis testing using randomization inference, rdwinselect() to select a window around the cutoff in which randomization is likely to hold, rdsensitivity() to assess the sensitivity of the results to different window lengths and null hypotheses and rdrbounds() to construct Rosenbaum bounds for sensitivity to unobserved confounders. See Cattaneo, Titiunik and Vazquez-Bare (2016) https://rdpackages.github.io/references/Cattaneo-Titiunik-VazquezBare_2016_Stata.pdf for further methodological details, and references.

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK12 OK, 1 FAILURE2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 3.0
READMENoVignettesNoNEWSNoCitation fileNoWebsiteYes
Help pages
5includes a package overview page
Examples that run
100%4 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
100%

Downloads

14.4K
CRAN downloads in the past year
Rank #3,164 · ~39/day · ~1.2K/mo
Daily download trend is not available in this view yet.
2K30 days
3.9K90 days
14.4K1 year
Compare downloads with other packages →
Also on109 r2u3 autocran151 c2d4u

Repository

9Stars
10Forks
0Open issues
0Open PRs
1Releases
74Commits
2Commit identities
causal-inferenceprogram-evaluationregression-discontinuity-designstreatment-effects
74 commits · Last activity 2026-10-04 · +12.5% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
90%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-08-31 · 82026-10-10 · 9
PracticesBeta

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

Checks run against github.com/rdpackages/rdlocrand on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Governance and community (3)
Issue templatesPR templateSecurity policy
Automation and maintenance (1)
Dependabot
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

An outside contributor's pull request to this repository was written with an AI coding tool.

From outside contributors
  • Claude Code
    Pull requests: 1 from outside contributors, first on 2026-03-11, 1 from forks
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing rdlocrand adds 62 packages (32 with compiled code, 58 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.

Depends (1)
R >= 3.1
Imports (2)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 2.0 (2026)

Previously maintained by Gonzalo Vazquez-Bare (0.1 to 1.1).

Listed in earlier versions (1)
Cattaneo
no longer listed · 1.1 to 3.0
Releases (14)

Pick two releases to compare their code metrics.

Show 9 earlier eventsHide 9 earlier events

Package metadata

First published
2017-04-07
Total releases
14 / 9 yrs
License
GPL-3 OSI
Minimum R
≥ 3.1
Download size
33 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rdlocrand")
Cattaneo, M. D., Titiunik, R., & Vazquez-Bare, G. (2026). rdlocrand: Local Randomization Methods for RD Designs (Version 3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.rdlocrand

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 rdlocrand version 3.0 [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