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 44e3c64 commit d24fcfaCopy full SHA for d24fcfa
R/detect-alignment.R
@@ -109,7 +109,7 @@ token_is_on_aligned_line <- function(pd_flat) {
109
previous_line <- current_col <- 0L
110
# if all col1 are named or there is at max 1 column,
111
# start at column 1, else start at column 2
112
- start_eval <- if (max(n_cols) == 1 || alignment_col1_all_named(pd_by_line)) {
+ start_eval <- if (max(n_cols) == 1L || alignment_col1_all_named(pd_by_line)) {
113
1L
114
} else {
115
2L
0 commit comments