tests/testthat/test-as_nested_list.R

test_that("as_nested_list() works", {
  expect_snapshot(
    ard_continuous(mtcars, by = "cyl", variables = "hp") |>
      as_nested_list()
  )
})

Try the cards package in your browser

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

cards documentation built on Oct. 4, 2024, 1:09 a.m.