This package browser is in early development. Mind the rough edges.

r-reprex 2.1.1

Prepare reproducible R code examples for sharing

This package provides a 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 or email. reprex also extracts clean, runnable R code from various common formats, such as copy/paste from an R session.

Installation

Install r-reprex 2.1.1 as follows:

guix install r-reprex@2.1.1

Or install the latest version:

guix install r-reprex

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.