test_that("restoreEncoding() works", {
f <- kwb.fakin:::restoreEncoding
expect_error(f())
expect_identical(f("hi", paste, "fans"), "hi fans")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.