tests/testthat/test_shinyDataFilter_df.R

context("test_shinyDataFilter_df")
skip_on_cran()

test_that("testing that extended getInitializationCode function returns code attribute", {
  x <- structure(1, code = "this_is_the_code", class = "shinyDataFilter_df")
  expect_equal(
    IDEAFilter::getInitializationCode.shinyDataFilter_df(x),
    "this_is_the_code")
})

Try the IDEAFilter package in your browser

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

IDEAFilter documentation built on Aug. 8, 2025, 7:29 p.m.