test_that("bapply", {
expect_identical(
object = bapply(
X = list(a = "a", b = 1L),
FUN = is.character
),
expected = c("a" = TRUE, "b" = FALSE)
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.