context("retrieving levels")
test_that("levels in taxlist object", {
expect_equal(
levels(Easplist),
base::levels(Easplist@taxonRelations$Level)
)
expect_equal(length(levels(Easplist)) < {
levels(Easplist) <- c(levels(Easplist), "phylum")
length(levels(Easplist))
}, TRUE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.