R/theme_empty.R

Defines functions theme_empty

Documented in theme_empty

#' Theme for a void table
#'
#' This function calls styles and formatting applied to a `tinytable` object up to that point in the pipeline.
#' @inheritParams theme_default
#' @export
theme_empty <- function(x, ...) {
  x@lazy_format <- list()
  x@lazy_style <- list()
  x@lazy_prepare <- list()
  x@lazy_finalize <- list()
  return(x)
}

Try the tinytable package in your browser

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

tinytable documentation built on Nov. 5, 2025, 5:42 p.m.