R/check_tidy_output.R

Defines functions check_tidy_output

Documented in check_tidy_output

#' Check the output of a tidy method
#'
#' @template boilerplate
#'
#' @description A thin wrapper around [check_tibble()].
#'
#' @param td Output from a tidy method.
#' @inherit check_tibble params return
#'
#' @export
check_tidy_output <- function(td, strict = TRUE) {
  check_tibble(td, method = "tidy", strict = strict)
}

Try the modeltests package in your browser

Any scripts or data that you put into this service are public.

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