reprex: Prepare Reproducible Example Code for Sharing
Version 0.1.2

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.

Getting started

Package details

AuthorJennifer Bryan [aut, cre], David Robinson [aut]
Date of publication2018-01-26 08:23:05 UTC
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the reprex package in your browser

Any scripts or data that you put into this service are public.

reprex documentation built on Jan. 26, 2018, 9:03 a.m.