removed readr from dependencies
diff --git a/R/kableExtra-package.R b/R/kableExtra-package.R
index c01f058..35617e1 100644
--- a/R/kableExtra-package.R
+++ b/R/kableExtra-package.R
@@ -66,7 +66,6 @@
 #' html_dependency_jquery pandoc_self_contained_html
 #' @importFrom magrittr %>%
 #' @importFrom utils read.csv head capture.output
-#' @importFrom readr read_lines read_file
 #' @importFrom scales rescale
 #' @importFrom viridisLite viridis
 #' @importFrom stats ave
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)) {