Skip to contents

Delegates to deckifyr get in the bundled Python engine, so the same dotted-path syntax (. for mapping keys, [N] for 0-based list indices, e.g. "colors.primary" or "slides[0].notes") works regardless of which of the three schemas (design/layouts/presentation) file is.

Usage

deck_get_config(file, path)

Arguments

file

Path to a design.yaml, layouts.yaml, or presentation.yaml.

path

Dotted path into the document.

Value

The value at path, as its native R type (list, character, numeric, logical, or NULL).

Examples

if (FALSE) { # \dontrun{
design <- system.file("examples", "minimal-deck", "design.yaml", package = "deckifyr")
deck_get_config(design, "colors.primary")
} # }