Skip to content
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

Allow selecting the style used by RStudio addins. #463

Merged
merged 11 commits into from Feb 16, 2019

don't quote new_style

Co-Authored-By: lorenzwalthert <lorenz.walthert@icloud.com>
  • Loading branch information...
riccardoporreca and lorenzwalthert committed Feb 15, 2019
commit 99aa566448db59e839bafe4ac864a8f486fb5b8b
@@ -115,7 +115,7 @@ prompt_style <- function() {
if (inherits(parsed_new_style, "function")) {
options(styler.addins.style = new_style)
} else {
stop("The selected style \"", quote(new_style), "\" is not a function.")
stop("The selected style \"", new_style, "\" is not a function.")
}
invisible(current_style)
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.