parse_rmd.Rd 533 B

12345678910111213141516171819202122232425
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/lift.R
  3. \name{parse_rmd}
  4. \alias{parse_rmd}
  5. \title{parse Rmarkdown header}
  6. \usage{
  7. parse_rmd(input)
  8. }
  9. \arguments{
  10. \item{input}{Rmd file to be parsed into a list}
  11. }
  12. \description{
  13. parse Rmarkdown header and return a list
  14. }
  15. \details{
  16. The header section is use three hyphens --- as start line & end line,
  17. or three hyphens --- as start line with three dots ...
  18. as end line
  19. }
  20. \examples{
  21. fl = system.file("examples/docker.Rmd", package = "liftr")
  22. parse_rmd(fl)
  23. }