tests/testthat/test_pmml.multinom.R

test_that("error when object is not multinom", {
  expect_error(pmml.multinom("foo"), "Not a legitimate multinom object")
})

Try the pmml package in your browser

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

pmml documentation built on March 18, 2022, 5:49 p.m.