diff --git a/R/rules-line-breaks.R b/R/rules-line-breaks.R index 6b0dcc34d..4d356a32d 100644 --- a/R/rules-line-breaks.R +++ b/R/rules-line-breaks.R @@ -432,7 +432,7 @@ remove_empty_lines_after_opening_braces <- function(pd) { } remove_empty_lines_before_closing_braces <- function(pd) { - closing_braces <- c("')'", "']'", "RBB") + closing_braces <- c("')'", "']'") paren_before <- pd$token %in% closing_braces if (!any(paren_before)) { return(pd)