tests/testthat/test-methods.R

test_that("fitted and coef methods work as they should", {
  fit <- euler(c(A = 1, B = 2))
  expect_is(fitted(fit), "numeric")
  expect_is(coef(fit), "data.frame")
})

Try the eulerr package in your browser

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

eulerr documentation built on May 29, 2024, 1:35 a.m.