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)) {