test_that("windowsPath() and rStylePath() work", {
x <- "a/b/c"
y <- windowsPath(x)
expect_identical(hsCountInStr("\\\\", y), hsCountInStr("/", x))
expect_identical(rStylePath(y), x)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.