reprex
reprex copied to clipboard
Render bits of R code for sharing, e.g., on GitHub or StackOverflow.
I'd like to make a case for an argument `default_packages = getOption("reprex.default_packages")` . - When loading conflicted, all those nasty deprecation warnings disappear - The number one issue for repeating...
Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on or . I create a _LOT_ Of...
Inspired by a recent chat with @DavisVaughan re: exerting a bit of control over highlighting for pasting into a talk We already document how to use pre-existing themes: https://reprex.tidyverse.org/articles/rtf.html#highlight-options But...
GitHub today [announced](https://github.blog/changelog/2022-05-19-specify-theme-context-for-images-in-markdown-beta/) the beta feature to display 1 of 2 uploaded images based on theme context. This is a really cool feature and I immediately thought of reprex! 😄...
The introduction of the `_` placeholder for the base pipe `|>` is likely to result in lots of reports of `reprex()` not capturing folks reprex or error. Because invalid use...
The default `gh` venue works mostly fine in discord except one minor detail: Code highlighting only works if there is no blank space between the first three backticks and the...
When a reprex output shows a long warning or error message, it does not add new lines consistent with typical experience with character max-widths from the R console. For example,...
A better API for activating documents in RStudio is taking shape. Next time I work on reprex, check the status and consider updating `rstudio_open_and_select_all()` to take advantage. Work already completed...
I frequently use the Carbon tool (https://carbon.now.sh/) to create images of R code to share on Twitter. Currently, my workflow is to use `reprex::reprex()` to create the reprex, paste it...
This is a very rare and minor bug. When testing warnings using `testthat`, some reprexes are missing the warning if the test was on the class of the warning: ```...