Nothing
suppressMessages(insert_cassette("finbif_collections"))
test_that(
"returns valid data", {
skip_on_cran()
expect_s3_class(
finbif_collections(taxonomic_coverage == "Coleoptera", cache = 1),
"data.frame"
)
expect_s3_class(
finbif_collections(subcollections = FALSE, supercollections = TRUE),
"data.frame"
)
expect_s3_class(
finbif_collections(select = NA, nmin = NA, cache = 1e-9), "data.frame"
)
expect_s3_class(
finbif_collections(select = NA, nmin = NA, cache = 1e-9), "data.frame"
)
}
)
test_that(
"returns errors appropriately", {
skip_on_cran()
expect_condition(finbif_collections(1:50))
}
)
suppressMessages(eject_cassette("finbif_collections"))
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.