test_that("use", {
expect_equal("XBC", replace_nth_char("ABC", 1, "X"))
expect_equal("AXC", replace_nth_char("ABC", 2, "X"))
expect_equal("ABX", replace_nth_char("ABC", 3, "X"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.