check_chunk_outputs: check_chunk_outputs

View source: R/driver.R

check_chunk_outputsR Documentation

check_chunk_outputs

Description

Checks chunk outputs for a variety of problems: correct structure, correct attributes attached, matches promised outputs. Generates warnings and/or errors if any deviance.

Usage

check_chunk_outputs(
  chunk,
  chunk_data,
  chunk_inputs,
  promised_outputs,
  outputs_xml
)

Arguments

chunk

Chunk name, character

chunk_data

Data produced by chunk, generally a tibble

chunk_inputs

Names of chunk inputs, character

promised_outputs

Names of chunk's promised outputs, character

outputs_xml

Logical vector: are outputs XML?


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.