check_augment_newdata_precedence: Check that newdata argument has higher precedence than data...

Description Usage Arguments Value

View source: R/check_augment_newdata_precedence.R

Description

Call this function to perform tests. If a tests fails, an informative error will be thrown. Otherwise silent.

Usage

1

Arguments

aug

An augment method. For example, augment.betareg.

model

A fit model object to call the augment method on.

data

A data frame or tibble to use when testing aug.

strict

Logical indicating whether the strict version of tests should be used. Defaults to TRUE.

Value

An invisible NULL. This function should be called for side effects, not return values.


modeltests documentation built on Jan. 16, 2021, 5:38 p.m.