testthat::test_that("growthFunction returns a DataFrame", {
re <- simulateParam(4)
dat <- growthFunction(re$N, re$alpha, re$c0, re$ck, re$init)
testthat::expect_true(is.data.frame(dat))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.