Nothing
context("test is_value")
x1 <- c(1:5, NA)
x2 <- c(1:5, NaN)
x3 <- c(1:5, Inf)
test1 <- is_value(x1)
test2 <- is_value(x2)
test3 <- is_value(x3)
test_that("check returned vector", {
expect_true(is.logical(test1))
expect_equal(sum(test2), 5)
expect_true(test3[6] == 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.