find_theme {accessrmd}R Documentation

Searches YAML head for YAML theme parameters, returning the theme if found.

Description

Use on YAML head text only. 'check_compat()' should be used prior to the use of 'find_theme()'. Looks for YAML theme parameter value. Returns the theme if found or 'default' if no theme specified.

Usage

find_theme(yaml = NULL)

Arguments

yaml

A YAML header text string.

Value

The theme value as a character string.


[Package accessrmd version 1.0.0 Index]