context("encode_pc_set")
test_that("encoding and decoding pc-sets", {
rand <- sample(4e3, 20)
rand %>% coded_vec("pc_set") %>% decode %>% encode %>% as.integer %>%
expect_equal(rand)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.