Check all necessary section of the YAML header are present.

markdown_check(object, verbose = FALSE)

Arguments

object

Reportr object.

verbose

Show progress, Default: FALSE.

Value

Text representation of an R markdown file's header.

Details

If sections are not in the YAML, adds them from the object.

See also

Examples

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'))) ))) } }