test_that("hsSafeName() works", {
existing <- c("a", "b")
expect_identical(hsSafeName("c", existing), "c")
expect_identical(hsSafeName("a", existing), "a_1")
expect_identical(hsSafeName("a", c(existing, "a_1")), "a_2")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.