jennybc/reprex: Prepare Reproducible Example Code via the Clipboard

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.

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version2.1.0.9000
URL https://reprex.tidyverse.org https://github.com/tidyverse/reprex
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("jennybc/reprex")
jennybc/reprex documentation built on Jan. 12, 2024, 9:33 p.m.