test_that("how many works - vector", {
expect_equal(how_many(letters), 26)
})
test_that("how many works - data frane", {
expect_equal(how_many(mtcars, cyl), 3)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.