Package: reprex 2.1.1.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.1.9000.tar.gz
reprex_2.1.1.9000.zip(r-4.5)reprex_2.1.1.9000.zip(r-4.4)reprex_2.1.1.9000.zip(r-4.3)
reprex_2.1.1.9000.tgz(r-4.5-any)reprex_2.1.1.9000.tgz(r-4.4-any)reprex_2.1.1.9000.tgz(r-4.3-any)
reprex_2.1.1.9000.tar.gz(r-4.5-noble)reprex_2.1.1.9000.tar.gz(r-4.4-noble)
reprex_2.1.1.9000.tgz(r-4.4-emscripten)reprex_2.1.1.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'))

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

Pkgdown site:https://reprex.tidyverse.org

On CRAN:

Conda:

githubreproducibilityrmarkdownstackoverflow

15.58 score 744 stars 127 packages 498 scripts 544k downloads 13 exports 32 dependencies

Last updated 6 months agofrom:07cd5d74fd. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 09 2025
R-4.5-winOKMar 09 2025
R-4.5-macOKMar 09 2025
R-4.5-linuxOKMar 09 2025
R-4.4-winOKMar 09 2025
R-4.4-macOKMar 09 2025
R-4.4-linuxOKMar 09 2025
R-4.3-winOKMar 09 2025
R-4.3-macOKMar 09 2025

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 Mar 09 2025.

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