Nothing
test_that("GroupedShuffler tests",{
frm <- data.frame(A = letters, B = rnorm(26))
grps <- GroupedShuffler$new(A)
expect_equal(grps$str(), "GroupedShuffler(group_on=A)")
new.data <- grps$mutate(frm, B)
expect_true(all(
new.data$B == frm$B
))
grps <- GroupedShuffler$new(A, limit=1)
new.data <- grps$mutate(frm, B)
expect_true(all(
is.na(new.data$B)
))
})
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.