tests/testthat/test-DToption.R

context("Show DT option")


test_that("Run opt.*", {
  expect_is(opt.data("mtcars"), "list")
  expect_is(opt.tb1("mtcars"), "list")
  expect_is(opt.tbreg("mtcars"), "list")
  expect_is(opt.roc("mtcars"), "list")
  expect_is(opt.simpledown("mtcars"), "list")
})

Try the jstable package in your browser

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

jstable documentation built on June 22, 2024, 9:17 a.m.