tests/testthat/test-board-ui.R

test_that("dummy board ui test", {

  expect_s3_class(board_ui("board", new_board()), "shiny.tag.list")

  board <- new_board(
    blocks = c(
      a = new_dataset_block("iris"),
      b = new_subset_block()
    ),
    links = links(from = "a", to = "b")
  )

  expect_s3_class(board_ui("board", board), "shiny.tag.list")
})

Try the blockr.core package in your browser

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

blockr.core documentation built on June 8, 2025, 1:43 p.m.