test_that("Can create rank_list", {
z <- rank_list(
text = "You can drag, drap and re-order these items:",
labels = c("one", "two", "three", "four", "five"),
input_id = "example_2"
)
expect_s3_class(z, "rank_list")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.