View source: R/check_single_augment_output.R
check_single_augment_output | R Documentation |
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)
au |
Output from a call to |
passed_data |
Whichever of |
strict |
Logical indicating whether the strict version of tests should be used. Defaults
to |
An invisible NULL
. This function should be called for side effects, not return values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.