tests/testthat/test-as_fst.R

test_that("save as temp fst table", {

  iris %>% as_fst() -> iris_fst

  expect_named(iris_fst)
  expect_named(iris_fst,names(iris))

  expect_equal(iris_fst[],iris)

})
hope-data-science/tidyfst documentation built on Sept. 23, 2024, 8:05 p.m.