test_that("label works", {
x <- 1:3
expect_equal(label(x, "something") |> attr("label"), "something")
expect_equal(label(iris, "something") |> attr("label"), "something")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.