Nothing
test_that("correct statement identified", {
check <- check_individual_statement(iris, "Species == 'setosa'")
expect_identical(check, TRUE)
})
test_that("filter identifies incorrect statement", {
checks <- sapply(
c(
"Species == 'setosa'", # should be true
"Species == 'wrong'", # should be true
"Spec == 'setosa'"
),
function(x) {
check_individual_statement(
df = iris,
statement = x
)
}
)
expect_equivalent(
checks,
c(TRUE, TRUE, FALSE)
)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.