reprex icon indicating copy to clipboard operation
reprex copied to clipboard

Render bits of R code for sharing, e.g., on GitHub or StackOverflow.

Results 28 reprex issues
Sort by recently updated
recently updated
newest added

Do I want to adjust the formatting of the ad in light of GitHub's new rendering? By which I mean the square brackets around "reprex package" here: ![Screen Shot 2021-09-27...

``` r library(tidyverse) library(rsample) library(lubridate) #> #> Attaching package: 'lubridate' #> The following objects are masked from 'package:base': #> #> date, intersect, setdiff, union library(tidymodels) #> Registered S3 method overwritten...

Currently, using the default syntax highlighting, the native pipe is highlighted as separate `|` and `>`. The following: ``` r library(magrittr) 1.23 %>% round() #> [1] 1 1.23 |> round()...

When braces are on a separate line (see the `suppressWarnings()` difference where braces are on the same line vs. different lines at the top), reprex can generate a parse error:...

If I do this, I guess I'd need to do it across all workflows? Here's how it's done: ``` - uses: r-lib/actions/setup-pandoc@v1 with: pandoc-version: '2.13' ``` It feels like reprex...

upkeep

This came up recently in #375 and #383 where @cderv points out that reprex would not benefit from a fix for this in rmarkdown itself, because `reprex_document()` isn't making direct...

upkeep

Intended usage: `reprex_invert("rstats-db/DBI#153")` . Slightly related: I wouldn't mind if RStudio opened a new file with the results as a side effect.

feature
wip

Code snippet exchange are being quite popular as reprex for issue filing, shared example or other needs. Currently, they are published most often on SO, GH and Rstudio community, and...

feature
help wanted :heart:
tidy-dev-day :nerd_face:

for formats that support it? This would provide clickable links for function calls and package names.

feature
venue 🏛

Hi, I am using the reprex package frequently (thanks for this wonderful package) and mostly in a forum using BBCode. I forked and added support to BBCode, but it's more...

venue 🏛