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 May 29, 2024, 9:15 a.m.