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)

})

Try the tidyfst package in your browser

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

tidyfst documentation built on Sept. 16, 2024, 9:06 a.m.