tests/testthat/test-fread.R

test_that("returns a tidytable", {
  out <- fread(
    "A,B
    1,2
    3,4"
  )

  expect_true(is_tidytable(out))
})

Try the tidytable package in your browser

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

tidytable documentation built on Oct. 5, 2023, 5:07 p.m.