Nothing
context("names_list")
test_that("names_list returns the correct dimensions", {
expect_equal(length(names_list('species')), 10)
expect_equal(length(names_list('species', size=20)), 20)
expect_equal(length(names_list('order', size=2)), 2)
})
test_that("names_list returns the correct class", {
expect_is(names_list('species'), "character")
})
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.