Skip to content

Commit

Permalink
Fix a CRAN reverse dependency check
Browse files Browse the repository at this point in the history
  • Loading branch information
haozhu233 committed Jan 23, 2024
1 parent 3fcf827 commit aeb36f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/add_indent.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ add_indent_latex <- function(kable_input, positions,
})
new_rowtext <- paste(unlist(new_rowtext), collapse = " & ")
} else {
if (all(target_cols %in% seq_along(new_rowtext))) {
if (all(target_cols %in% seq(table_info$ncol))) {
new_rowtext[target_cols] <- latex_indent_unit(
new_rowtext[target_cols], level_of_indent)
} else {
Expand Down

0 comments on commit aeb36f5

Please sign in to comment.