R/read_text_file.R

Defines functions read_text_file

Documented in read_text_file

#' read_text_file
#'
#' @param file_path TODO
#'
#' @return TODO

read_text_file <- function(file_path) {
  x <- readChar(file_path, file.info(file_path)$size)
  return(gsub("\r\n", "\n", x))
}
trevorlolsen/jaw documentation built on July 2, 2023, 9:33 a.m.