reprex
2.1.1Prepare Reproducible Example Code via the Clipboard
Overview
Convenience wrapper that uses the 'rmarkdown' package to render small snippets of code to target formats that include both code and output. The goal is to encourage the sharing of small, reproducible, and runnable examples on code-oriented websites, such as https://stackoverflow.com and https://github.com, or in email. The user's clipboard is the default source of input code and the default target for rendered output. 'reprex' also extracts clean, runnable R code from various common formats, such as copy/paste from an R session.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 40%
- Documented parameters
- 95%
- Return-value docs
- 71%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/tidyverse/reprex on 2026-07-19.
Show all practices
Dependencies
Code & Tests
People & History
12 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.1.1Latest
- RR 4.4.0 released · 2024-04-24
- 2.1.02024-01-11 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.0.22022-08-17 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.0.12021-08-05 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.0.02021-04-02 · diff ↗
- 1.0.02021-01-27 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.3.02019-05-16 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.2.12018-09-16 · diff ↗
Package metadata
- First published
- 2017-01-10
- Total releases
- 12 / 9 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.6
- Download size
- 1.0 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet