Skip to contents

Create `_pkgslides.yml`

Usage

create_yaml(
  path = getwd(),
  format_theme = c(),
  format_functions = list(),
  format_datasets = list(),
  choose_functions = list(),
  choose_datasets = c()
)

Arguments

path

A file path to where you want the yaml file written. This should not end in a slash of any kind.

format_theme

A length-one character vector of theme details

format_functions

A named list of format function options

format_datasets

A named list of format dataset options

choose_functions

A list of file or function names

choose_datasets

A vector of dataset names

Value

This will create the file and write to it, then return the file path.