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 |
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 |
Reference manual: | reprex.pdf |
Vignettes: |
Reprex do's and don'ts |
Package source: | reprex_2.1.1.tar.gz |
Windows binaries: | r-devel: reprex_2.1.1.zip, r-release: reprex_2.1.1.zip, r-oldrel: reprex_2.1.1.zip |
macOS binaries: | r-devel (arm64): reprex_2.1.1.tgz, r-release (arm64): reprex_2.1.1.tgz, r-oldrel (arm64): reprex_2.1.1.tgz, r-devel (x86_64): reprex_2.1.1.tgz, r-release (x86_64): reprex_2.1.1.tgz, r-oldrel (x86_64): reprex_2.1.1.tgz |
Old sources: | reprex archive |
Reverse imports: | tidyverse |
Reverse suggests: | constructive, projmgr, r4ds.tutorials, targets |
Reverse enhances: | duckplyr |
Please use the canonical form https://CRAN.R-project.org/package=reprex to link to this page.