check_tidy_output: Check the output of a tidy method

View source: R/check_tidy_output.R

check_tidy_outputR Documentation

Check the output of a tidy method

Description

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

A thin wrapper around check_tibble().

Usage

check_tidy_output(td, strict = TRUE)

Arguments

td

Output from a tidy method.

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.


alexpghayes/modeltests documentation built on March 7, 2024, 11 p.m.