test_that("Returns numeric of length 1", {
expect_length(
make_habitat(river = "Hudson", species = "AMS", upstream = 0.50), 1)
expect_type(
make_habitat(river = "Hudson", species = "AMS", upstream = 0.50), "double")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.