check_glance_outputs {modeltests} | R Documentation |
Check the output of a glance method
Description
Call this function to perform tests. If a tests fails, an informative error will be thrown. Otherwise silent.
Tests when strict = FALSE
:
Each item passed to
...
passescheck_tibble()
Each item passed to
...
has exactly 1 row.
Additional tests when strict = TRUE
:
Column names and order agree across all elements of
...
.
Usage
check_glance_outputs(..., strict = TRUE)
Arguments
... |
Outputs returned from calls to (the same) glance method. |
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.
See Also
[Package modeltests version 0.1.6 Index]