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 July 26, 2023, 5:20 p.m.