check_all: Check protocol 'frontmatter' and 'structure'

View source: R/check_all.R

check_allR Documentation

Check protocol frontmatter and structure

Description

Combines check_frontmatter() and check_structure() in one function.

Usage

check_all(protocol_code, fail = !interactive())

Arguments

protocol_code

Character string giving the protocol code

fail

Should the function drop an error in case of a problem? Defaults to TRUE in a non-interactive session and FALSE in an interactive session.

Value

A report of all failed checks.

See Also

Other check: check_all_author_info(), check_frontmatter(), check_structure(), protocolcheck, validate_orcid()


inbo/protocolshelper documentation built on Sept. 6, 2024, 9:15 p.m.