tests/testthat/helper-render_formats.R

# Testable version of the `render_formats()` function
render_formats_test <- function(data,
                                context) {
  build_data(data, context = context)$`_body`
}

Try the gt package in your browser

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

gt documentation built on June 22, 2024, 11:11 a.m.