Nothing
test_that("try_or_default works", {
expect_equal(
{
a <- try_or_default(
{
1 / 18
},
.default = 18
)
b <- try_or_default(
{
1 / asd
},
.default = 18
)
isTRUE(a < 1 && b == 18)
},
T
)
})
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.