tests/testthat/test-rowwise.R

test_that("works", {
  df <- data.table(x = 1:3, y = 1:3, z = c("a", "a", "b"))
  res <- rowwise(df)
  expect_true(inherits(res, "rowwise_tt"))
})

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.