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 7068fab commit 9f0b98cCopy full SHA for 9f0b98c
R/reindent.R
@@ -58,7 +58,7 @@ update_indention_ref_fun_call <- function(pd_nested) {
58
#' @importFrom rlang seq2
59
update_indention_ref_fun_dec <- function(pd_nested) {
60
if (pd_nested$token[1] == "FUNCTION") {
61
- seq <- seq2(3, nrow(pd_nested) - 1)
+ seq <- seq2(3, nrow(pd_nested) - 2)
62
pd_nested$indention_ref_pos_id[seq] <- pd_nested$pos_id[2]
63
}
64
pd_nested
0 commit comments