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.
Version: |
2.1.1 |
Depends: |
R (≥ 3.6) |
Imports: |
callr (≥ 3.6.0), cli (≥ 3.2.0), clipr (≥ 0.4.0), fs, glue, knitr (≥ 1.23), lifecycle, rlang (≥ 1.0.0), rmarkdown, rstudioapi, utils, withr (≥ 2.3.0) |
Suggests: |
covr, fortunes, miniUI, rprojroot, sessioninfo, shiny, spelling, styler (≥ 1.2.0), testthat (≥ 3.2.1) |
Published: |
2024-07-06 |
DOI: |
10.32614/CRAN.package.reprex |
Author: |
Jennifer Bryan
[aut, cre],
Jim Hester [aut],
David Robinson [aut],
Hadley Wickham
[aut],
Christophe Dervieux
[aut],
Posit Software, PBC [cph, fnd] |
Maintainer: |
Jennifer Bryan <jenny at posit.co> |
BugReports: |
https://github.com/tidyverse/reprex/issues |
License: |
MIT + file LICENSE |
URL: |
https://reprex.tidyverse.org, https://github.com/tidyverse/reprex |
NeedsCompilation: |
no |
SystemRequirements: |
pandoc (>= 2.0) - https://pandoc.org/ |
Language: |
en-US |
Materials: |
README NEWS |
CRAN checks: |
reprex results |