check_single_augment_output {modeltests} | R Documentation |
Check the output of an augment method
Description
Call this function to perform tests. If a tests fails, an informative error will be thrown. Otherwise silent.
Test when strict = FALSE
:
-
au
passescheck_tibble()
. All column names present in
passed_data
are also present inau
.
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
.
Usage
check_single_augment_output(au, passed_data, model = NULL, strict = TRUE)
Arguments
au |
Output from a call to |
passed_data |
Whichever of |
strict |
Logical indicating whether the strict version of tests should be used. Defaults
to |
Value
An invisible NULL
. This function should be called for side effects, not return values.
[Package modeltests version 0.1.6 Index]