commit | 16d6619975c3809598d43e1a6188320447a767f3 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Wed Aug 19 10:15:34 2020 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Wed Aug 19 10:15:34 2020 -0400 |
tree | a2420bf426a214a5c7f971d0353d11c86ae3aff9 | |
parent | ebeec796a1095ab7390bdab1486bc6c802a34252 [diff] [blame] |
removed readr from dependencies
diff --git a/R/kable_styling.R b/R/kable_styling.R index 9be4bcc..10dfb4f 100644 --- a/R/kable_styling.R +++ b/R/kable_styling.R
@@ -438,7 +438,7 @@ styling_latex_repeat_header <- function(x, table_info, repeat_header_text, repeat_header_method, repeat_header_continued) { - x <- read_lines(x) + x <- str_split(x, "\n")[[1]] if (table_info$booktabs) { header_rows_start <- which(x == "\\toprule")[1] if (is.null(table_info$colnames)) {