Checks chunk outputs for a variety of problems: correct structure, correct attributes attached, matches promised outputs. Generates warnings and/or errors if any deviance.
check_chunk_outputs(
chunk,
chunk_data,
chunk_inputs,
promised_outputs,
outputs_xml
)
Chunk name, character
Data produced by chunk, generally a tibble
Names of chunk inputs, character
Names of chunk's promised outputs, character
Logical vector: are outputs XML?