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

r-reprex

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 the latest version of r-reprex as follows:

guix install r-reprex

Or install a particular version:

guix install r-reprex@2.1.1

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.

Badge code

You can use the following badge to inform users of r-reprex about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/r-reprex'><img src='https://packages.guix.gnu.org/packages/r-reprex/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/r-reprex/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/r-reprex)

Example Org:

[[https://packages.guix.gnu.org/packages/r-reprex][https://packages.guix.gnu.org/packages/r-reprex/badges/latest-version.svg]]