As the csasdown package is updated, sometimes new mandatory YAML options are added to the index.Rmd file. Running this function will compare your file to the version built into the currently installed version of csasdown and issue a stop() statement telling you what doesn't match if needed.

check_yaml(type = "resdoc")

Arguments

type

Type of document. Currently this is only implemented for research documents.