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 Sept. 18, 2024, 1:07 a.m.