check_compat: Checks if the html doctype is compatible.

View source: R/check_compat.R

check_compatR Documentation

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.


accessrmd documentation built on May 3, 2022, 5:07 p.m.