Nothing
# .grouped_list -----------------------------------------------------
test_that(
".grouped_list works with non-syntactic group names",
{
set.seed(123)
expect_snapshot({
sleep %>%
rename("my non-syntactic name" = group) %>%
.grouped_list(grouping.var = `my non-syntactic name`) %>%
str()
})
}
)
# .is_palette_sufficient ------------------------------------
test_that(
".is_palette_sufficient is working",
{
expect_no_condition(.is_palette_sufficient("RColorBrewer", "Dark2", 2L))
expect_snapshot(.is_palette_sufficient("RColorBrewer", "Dark2", 20L))
}
)
# .eval_f ------------------------------------
test_that(
".eval_f works as expected",
{
f <- function() stop("Not working", call. = FALSE)
expect_null(.eval_f(f))
}
)
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.