test_that("noFactorDataFrame() works", {
f <- kwb.utils:::noFactorDataFrame
result <- f()
expect_is(result, "data.frame")
result <- f(a = "hello")
expect_is(result$a, "character")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.