Nothing
test_that("size works", {
set.seed(163973)
r <- data.frame(
sets = c(rep("A", 5), "B", "C"),
elements = c(letters[seq_len(6)], letters[6]),
fuzzy = runif(7)
)
a <- tidySet(r)
expect_s4_class(expect_warning(size(a)), "TidySet")
a <- activate(a, "elements")
size_e <- size(a)
expect_length(size_e, 3)
expect_equal(nrow(size_e), 13)
a <- activate(a, "sets")
size_s <- size(a)
expect_length(size_s, 3)
expect_equal(nrow(size_s), 10)
})
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.