tests/testthat/test-t_ds_slide.R

test_that("Test table creation of t_ds_slide", {
  expect_snapshot(t_ds_slide(adsl = testdata$adsl))
})

test_that("Test table creation of t_ds_slide", {
  expect_snapshot(t_ds_slide(adsl = testdata$adsl, side_by_side = "GlobalChina"))
})

test_that("Test table creation of t_ds_slide", {
  expect_snapshot(t_ds_slide(adsl = testdata$adsl, split_by_study = TRUE))
})

test_that("Test table creation of t_ds_slide", {
  expect_snapshot(t_ds_slide(adsl = testdata$adsl, split_by_study = TRUE, side_by_side = "GlobalChina"))
  expect_warning(t_ds_slide(adsl = testdata$adsl, split_by_study = TRUE, side_by_side = "GlobalChina"))
})

Try the autoslider.core package in your browser

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

autoslider.core documentation built on Aug. 25, 2025, 9:51 a.m.