Learn R Programming

quarto (version 0.3)

quarto_metadata: Read Quarto Metadata

Description

Read YAML metadata for an input file or project.

Usage

quarto_metadata(input = ".")

Arguments

input

The input file or project directory to read metadata for.

Value

Named list with metadata. For input files, the named list is keyed by output format. For projects, all project level metadata defined in _quarto is contained in the list.

Examples

Run this code
# NOT RUN {
# Read metadata for file
quarto_metadata("notebook.Rmd")

# Read metadata for project
quarto_metdata("myproject")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab