CRAN/E | reprex

reprex

Prepare Reproducible Example Code via the Clipboard

Installation

About

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 and , 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.

reprex.tidyverse.org
github.com/tidyverse/reprex
System requirements pandoc (>= 2.0) - http://pandoc.org
Bug report File report

Key Metrics

Version 2.1.0
R ≥ 3.6
Published 2024-01-11 78 days ago
Needs compilation? no
License MIT
License File
CRAN checks reprex results
Language en-US

Downloads

Yesterday 14.124 0%
Last 7 days 70.579 -34%
Last 30 days 404.720 -16%
Last 90 days 1.253.706 +10%
Last 365 days 4.782.588 -3%

Maintainer

Maintainer

Jennifer Bryan

jenny@posit.co

Authors

Jennifer Bryan

aut / cre

Jim Hester

aut

David Robinson

aut

Hadley Wickham

aut

Christophe Dervieux

aut

Posit Software
PBC

cph / fnd

Material

README
NEWS
Reference manual
Package source

Vignettes

Reprex do's and don'ts

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

reprex archive

Depends

R ≥ 3.6

Imports

callr ≥ 3.6.0
cli ≥ 3.2.0
clipr ≥ 0.4.0
fs
glue
knitr ≥ 1.23
lifecycle
rlang ≥ 1.0.0
rmarkdown
rstudioapi
utils
withr ≥ 2.3.0

Suggests

covr
fortunes
miniUI
rprojroot
sessioninfo
shiny
spelling
styler ≥ 1.2.0
testthat ≥ 3.0.2

Reverse Imports

tidyverse

Reverse Suggests

duckplyr
projmgr
r4ds.tutorials
targets