vcr::use_cassette("ebirdtaxonomyversion", {
test_that("ebirdtaxonomyversion works correctly", {
versions <- ebirdtaxonomyversion()
expect_true(inherits(versions, "data.frame"))
expect_true(inherits(versions, "tbl_df"))
expect_equal(ncol(versions), 2)
expect_true(all(c("authorityVer", "latest") %in% names(versions)))
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.