Prepare Reproducible Example Code for Sharing

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 < http://stackoverflow.com> and < https://github.com>, or in email. 'reprex' also extracts clean, runnable R code from various common formats, such as copy/paste from an R session.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("reprex")

0.1.1 by Jennifer Bryan, a year ago


https://github.com/jennybc/reprex


Report a bug at https://github.com/jennybc/reprex/issues


Browse source code at https://github.com/cran/reprex


Authors: Jennifer Bryan [aut, cre], David Robinson [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports callr, clipr, knitr, rmarkdown, tools, utils, whisker

Suggests covr, devtools, formatR, fortunes, miniUI, rstudioapi, shiny, shinyjs, testthat

System requirements: pandoc (>= 1.12.3) - http://pandoc.org


Imported by tidyverse.


See at CRAN