test_that("Function returning output", {
expect_s3_class(sim_pop(species = "BBH", nyears = 2, river = "Hudson"),
"data.frame")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.