This function reads the protocol and checks if the document structure is correct: chunks have head and tail, required headings are present and in the right order,... This function is intended for checking if a protocol is ready to be rendered and published.
Usage
check_structure(protocol_code, fail = !interactive())See also
Other check:
check_all(),
check_all_person_info(),
check_frontmatter(),
protocolcheck,
validate_orcid()