tests/testthat/helper-tab_style.R

expect_1_row <- function(object) {
  expect_equal(
    nrow(object),
    1
  )
}

Try the gt package in your browser

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

gt documentation built on Sept. 11, 2024, 5:15 p.m.