data(iupac)
test_that("popnames() outputs list", {
poplist <- list(FRA = grep("Mmd.FRA", names(iupac)))
iupac <- iupac |> addpop2string(poplist)
expect_true(popnames(iupac)$FRA[1] == "Mmd.FRA.14")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.