test_that("Returns numeric vector", {
expect_type(
make_mortality(river = "Hudson", sex = "female", species = "BBH"),
"double")
expect_vector(
make_mortality(river = "Hudson", sex = "female", species = "BBH"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.