tests/testthat/test-mkonfound.r

context("Checking mkonfound")

test_that("mkonfound produces table", {
    d <- mkonfound(mkonfound_ex, t, df)
    expect_is(d, "data.frame")
})

test_that("mkonfound produces plot", {
    p <- mkonfound(mkonfound_ex, t, df, return_plot = TRUE)
    p
    expect_s3_class(p, "ggplot")
})
jrosen48/konfound documentation built on April 13, 2024, 3:47 a.m.