Debian Codegraph @

man/knit_params_yaml.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/params.R
3 \name{knit_params_yaml}
4 \alias{knit_params_yaml}
5 \title{Extract knit parameters from YAML text}
6 \usage{
7 knit_params_yaml(yaml, evaluate = TRUE)
8 }
9 \arguments{
10 \item{yaml}{Character vector containing the YAML text.}
11
12 \item{evaluate}{If \code{TRUE} (the default) expression values
13 embedded within the YAML will be evaluated. If \code{FALSE}, parameters
14 defined with an expression will have the parsed but unevaluated expression
15 in their \code{value} field.}
16 }
17 \value{
18 List of objects of class \code{knit_param} that correspond to the
19 parameters declared in the \code{params} section of the YAML. See
20 \code{\link{knit_params}} for a full description of these objects.
21 }
22 \description{
23 This function reads the YAML front-matter that has already been extracted
24 from a document and returns a list of any parameters declared there.
25 }
26 \seealso{
27 \code{\link{knit_params}}
28 }