Skip to content

Commit d24fcfa

Browse files
use integers.
Co-authored-by: Indrajeet Patil <[email protected]>
1 parent 44e3c64 commit d24fcfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/detect-alignment.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ token_is_on_aligned_line <- function(pd_flat) {
109109
previous_line <- current_col <- 0L
110110
# if all col1 are named or there is at max 1 column,
111111
# start at column 1, else start at column 2
112-
start_eval <- if (max(n_cols) == 1 || alignment_col1_all_named(pd_by_line)) {
112+
start_eval <- if (max(n_cols) == 1L || alignment_col1_all_named(pd_by_line)) {
113113
1L
114114
} else {
115115
2L

0 commit comments

Comments
 (0)