R/remove_yaml.R
remove_yaml_header.Rd
Remove YAML header
remove_yaml_header(file)
file name of the markdown file
A character vector of the text without the YAML header
file <- system.file("extdata/00_template.Rmd", package = "ottrpal") out <- remove_yaml_header(file) #> Warning: file("") only supports open = "w+" and open = "w+b": using the formerhead(out) #> character(0)