Call this function to perform tests. If a tests fails, an informative error will be thrown. Otherwise silent.
Test when strict = FALSE:
au passes check_tibble().
All column names present in passed_data are also present in au.
Additional tests when strict = TRUE:
If passed_data has rownames other than simple row numbers (i.e. paste(1:5)),
au contains a column called .rownames.
check_single_augment_output(au, passed_data, model = NULL, strict = TRUE)An invisible NULL. This function should be called for side effects, not return values.
Output from a call to broom::augment().
Whichever of data or newdata was passed to
augment. Should be a data frame or tibble.
Logical indicating whether the strict version of tests should be used. Defaults
to TRUE.