R/rmarkdown_functions.R

Defines functions read_file

read_file <- function(path) {
  n <- file.info(path)$size
  readChar(path, n, TRUE)
}

Try the DataPackageR package in your browser

Any scripts or data that you put into this service are public.

DataPackageR documentation built on June 22, 2024, 9:57 a.m.