powered by
Ensure there is one (and only one) blank line at the end of a vector
ensure_last_n_empty(x, n = 1)
# NOT RUN { styler:::ensure_last_n_empty("") styler:::ensure_last_n_empty(letters) styler:::ensure_last_n_empty(c(letters, "", "", "")) # }
Run the code above in your browser using DataLab