Skip to contents

Parses a YAML file into the list structure expected by poster(). Only does light validation (presence of sections and layout); the content builders raise their own errors for malformed section bodies.

Usage

read_poster_yaml(path)

Arguments

path

Path to a YAML file.

Value

A list following the poster() spec schema.

Examples

path <- system.file("extdata", "poster_sample.yml", package = "ggposter")
spec <- read_poster_yaml(path)