We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2530f99 commit 86daefaCopy full SHA for 86daefa
R/rules-line-breaks.R
@@ -455,7 +455,7 @@ remove_empty_lines_after_opening_and_before_closing_braces <- function(pd) {
455
#' @keywords internal
456
reduce_extra_blank_lines_between_scopes <- function(pd_flat, allowed_blank_lines = 2L) {
457
# Calculate the maximum allowed lag_newlines
458
- max_lag_newlines <- allowed_blank_lines + 1L # +1 accounts for the line with the previous token
+ max_lag_newlines <- allowed_blank_lines + 1L # +1 accounts for the line with the previous token
459
460
# Identify positions where lag_newlines exceed the maximum allowed
461
idx <- which(pd_flat$lag_newlines > max_lag_newlines)
0 commit comments