Check all necessary section of the YAML header are present.
markdown_check(object, verbose = FALSE)
object | Reportr object. |
---|---|
verbose | Show progress, Default: FALSE. |
Text representation of an R markdown file's header.
If sections are not in the YAML, adds them from the object.
if (FALSE) { if(interactive()){ cat(markdown_check(object = create_wsteps(list()))) cat(markdown_check(object = create_wsteps(list(), markdown = list("~/Documents/liai/scripts/reportr_pkg/reportr_webspec.yaml") ))) cat(markdown_check(object = create_wsteps(list(), markdown = list(output=list(html_document=list(theme='journal'))) ))) } }