Nothing
test_that("uses tidy_dots", {
fs <- list(factor("a"), factor("b"))
fab <- factor(c("a", "b"))
expect_equal(fct_c(!!!fs), fab)
expect_equal(fct_c(fs[[1]], fs[[2]]), fab)
})
test_that("all inputs must be factors", {
expect_error(fct_c("a"), "must be factors")
})
test_that("empty input yields empty factor", {
expect_equal(fct_c(), factor())
})
test_that("validates inputs", {
expect_snapshot(error = TRUE, {
fct_c(1)
fct_unify(list(1))
fct_unify(list(factor()), levels = 1)
})
})
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.