context("cv")
test_that("returns expected values",{
expect_equal(cv(c(1,1,1,1,1,1)), 0, tolerance = 1e-5)
expect_true(cv(rnorm(100, 100, 100)) > 50)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.