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.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'))

Peer review:

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

On CRAN:

githubreproducibilityrmarkdownstackoverflow

15.84 score 741 stars 125 packages 502 scripts 564k downloads 13 exports 32 dependencies

Last updated 2 months agofrom:07cd5d74fd. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-winOKNov 09 2024
R-4.5-linuxOKNov 09 2024
R-4.4-winOKNov 09 2024
R-4.4-macOKNov 09 2024
R-4.3-winOKNov 09 2024
R-4.3-macOKNov 09 2024

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 Nov 09 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