Learn R Programming

accessrmd (version 1.0.0)

check_compat: Checks if the html doctype is compatible.

Description

Checks to ensure file is not a special flavour of html output, including xaringan, ioslides, flexdashboard or slidy. Output is an error if html doc is a special case.

Usage

check_compat(yaml_txt)

Arguments

yaml_txt

Output of 'readLines()' separated from body text.

Value

Error condition if non-standard html found.