Nothing
test_that("not_infinite returns FALSE if value is infinite", {
not_infinite(Inf) %>% expect_false()
not_infinite(-Inf) %>% expect_false()
})
test_that("not_infinite returns TRUE if value is not infinite", {
for_all(
a = anything(),
property = function(a)
(identical(a, Inf) || identical(a, -Inf) || not_infinite(a)) %>%
expect_true()
)
})
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.