-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning exists when reprex(... style = FALSE)
#461
Comments
Yeah this appears to be a thinko in this helper. It doesn't seem to consult whether Lines 129 to 137 in e1f65e9
|
Our users asked us if they should install style_requires_styler <- function(style) {
if (style && !requireNamespace("styler", quietly = TRUE)) {
reprex_danger("
Install the {.pkg styler} package in order to use
{.code style = TRUE}.")
style <- FALSE
}
invisible(style)
} ? |
Yes LGTM. Would you like to make a PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With
style=FALSE
, users would like to render withoutstyler
. I wonder if "Install the styler package" should still show up?Created on 2024-02-02 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: