Debian Codegraph @

man/metadata.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/render.R
3 \docType{data}
4 \name{metadata}
5 \alias{metadata}
6 \title{The YAML metadata of the current R Markdown document}
7 \format{
8 An object of class \code{list} of length 0.
9 }
10 \description{
11 The object \code{metadata} stores the YAML metadata of the current R Markdown
12 document as a list, which you may use in the R code chunks, e.g.
13 \code{rmarkdown::metadata$title} (the title of the document),
14 \code{rmarkdown::metadata$author}, and \code{rmarkdown::metadata$foo} (if you
15 have a YAML field named \code{foo}), etc.
16 }
17 \examples{
18 rmarkdown::metadata
19 }
20 \keyword{datasets}