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 March 17, 2021, 5:07 p.m.