Package: reprex 2.1.0.9000

Jennifer Bryan

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.

Authors:Jennifer Bryan [aut, cre], Jim Hester [aut], David Robinson [aut], Hadley Wickham [aut], Christophe Dervieux [aut], Posit Software, PBC [cph, fnd]

reprex_2.1.0.9000.tar.gz
reprex_2.1.0.9000.zip(r-4.5)reprex_2.1.0.9000.zip(r-4.4)reprex_2.1.0.9000.zip(r-4.3)
reprex_2.1.0.9000.tgz(r-4.4-any)reprex_2.1.0.9000.tgz(r-4.3-any)
reprex_2.1.0.9000.tar.gz(r-4.5-noble)reprex_2.1.0.9000.tar.gz(r-4.4-noble)
reprex_2.1.0.9000.tgz(r-4.4-emscripten)reprex_2.1.0.9000.tgz(r-4.3-emscripten)
reprex.pdf |reprex.html
reprex/json (API)
NEWS

# Install reprex in R:
install.packages('reprex', repos = c('https://tidyverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tidyverse/reprex/issues

On CRAN:

githubreproducibilityrmarkdownstackoverflow

13 exports 732 stars 10.17 score 32 dependencies 116 dependents 434.7k downloads

Last updated 6 months agofrom:e1f65e9949ed30d1ee4f1e984736b408d8e001ee

Exports:reprexreprex_addinreprex_cleanreprex_documentreprex_htmlreprex_invertreprex_localereprex_rreprex_renderreprex_rescuereprex_rtfreprex_selectionreprex_slack

Dependencies:base64encbslibcachemcallrclicliprdigestevaluatefastmapfontawesomefsgluehighrhtmltoolsjquerylibjsonliteknitrlifecyclememoisemimeprocessxpsR6rappdirsrlangrmarkdownrstudioapisasstinytexwithrxfunyaml

Reprex do's and don'ts

Rendered fromreprex-dos-and-donts.Rmdusingknitr::rmarkdownon Jun 21 2024.

Last update: 2022-03-04
Started: 2017-10-15

Readme and manuals

Help Manual

Help pageTopics
Render a reprexreprex
Render a reprex, convenientlyreprex_addin reprex_selection
reprex output formatreprex_document
Render a reprex in a specific localereprex_locale
reprex optionsopt reprex_options
Render a document in a new R sessionreprex_render
Venue-specific shortcutsreprex_html reprex_r reprex_rtf reprex_slack reprex_venue
Un-render a reprexreprex_clean reprex_invert reprex_rescue un-reprex