tests/testthat/test-ppc.R

test_that("ppc", {
    # (1) load data
    data("fitPBK_C4")
    # (3) run plot
    ppcPBK_C4 = ppc(fitPBK_C4)
    # (4) check plot has been executed:
    testthat::expect_true(all(class(ppcPBK_C4) == c("gg", "ggplot")))
})

Try the rPBK package in your browser

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

rPBK documentation built on May 29, 2024, 2:41 a.m.