tests/testthat/test-preview.R

test_that("preview returns the input invisibly", {
  out <- preview(iris)
  expect_identical(out, iris)
})

Try the basetable package in your browser

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

basetable documentation built on Sept. 18, 2026, 9:13 a.m.