tests/testthat/test-s3-rowwise_df.R

test_that("rowwise_df", {
  expect_snapshot({
    construct(dplyr::rowwise(head(cars,2)))
    construct(dplyr::rowwise(head(cars,2), dist))
  })
})

Try the constructive package in your browser

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

constructive documentation built on April 3, 2025, 9:39 p.m.