context("select")
x <- mtcars
test_that("selectIf", {
x <- selectIf(x, predicate = is.double)
expect_s4_class(x, "DataFrame")
expect_true(hasRownames(x))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.