reprex

From MaRDI portal
Revision as of 21:30, 5 March 2024 by Import240305080343 (talk | contribs) (Created automatically from import240305080343)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Software:30283



swMATH18443CRANreprexMaRDI QIDQ30283

Prepare Reproducible Example Code via the Clipboard

David Robinson, Christophe Dervieux, Jim Hester, Hadley Wickham, Jennifer Bryan

Last update: 11 January 2024

Copyright license: MIT license, File License

Software version identifier: 2.0.2, 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.3.0, 1.0.0, 2.0.0, 2.0.1, 2.1.0


Source code repository: https://github.com/cran/reprex

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.