R/rmarkdown_functions.R

Defines functions read_file

read_file <- function(path) {
  n <- file.info(path)$size
  readChar(path, n, TRUE)
}
ropensci/DataPackageR documentation built on April 17, 2024, 11:43 a.m.