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. 'reprex' also extracts clean, runnable R code from various common formats, such as copy/paste from an R session.

Documentation

Manual: reprex.pdf
Vignette: None available.

Maintainer: Jennifer Bryan <jenny.f.bryan at gmail.com>

Author(s): Jennifer Bryan*, David Robinson*

Install package and any missing dependencies by running this line in your R console:

install.packages("reprex")

Depends R (>= 3.0.2)
Imports callr, clipr(>=0.3.0), knitr, rmarkdown, tools, utils, whisker
Suggests covr, devtools, formatR, fortunes, miniUI, rstudioapi, shiny, shinyjs, testthat
Enhances
Linking to
Reverse
depends
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package reprex
Materials
URL https://github.com/jennybc/reprex
Task Views
Version 0.1.1
Published 2017-01-13
License MIT + file LICENSE
BugReports https://github.com/jennybc/reprex/issues
SystemRequirements pandoc (>= 1.12.3) - http://pandoc.org
NeedsCompilation no
Citation
CRAN checks reprex check results
Package source reprex_0.1.1.tar.gz