Call this function to perform tests. If a tests fails, an informative error will be thrown. Otherwise silent.
check_augment_newdata_precedence(aug, model, data, strict = TRUE)
An invisible NULL
. This function should be called for side effects, not return values.
An augment method. For example, augment.betareg
.
A fit model object to call the augment method on.
A data frame or tibble to use when testing aug
.
Logical indicating whether the strict version of tests should be used. Defaults
to TRUE
.