Nothing
test_that("from_just will fail with non-maybe values", {
for_all(
a = anything(),
property = function(a) from_just(a) %>% expect_error()
)
})
test_that("from_just will fail with nothing", {
nothing() %>% from_just() %>% expect_error()
})
test_that("from_just unwraps a just value", {
for_all(
a = anything(),
property = function(a)
just(a) %>%
from_just() %>%
expect_identical(a)
)
})
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.