tests/testthat/test-all-classes.R

test_that("S4 class glmdisc available", {
  expect_s4_class(methods::new(
    Class = "glmdisc",
    parameters = list(),
    best.disc = list(),
    performance = list(),
    disc.data = data.frame(),
    cont.data = data.frame()
  ), "glmdisc")
})

Try the glmdisc package in your browser

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

glmdisc documentation built on Oct. 23, 2020, 7:12 p.m.