reprex

From MaRDI portal
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.