test_that("my_mean works", { expect_equal(my_mean(c(1, 6)), 3.5) expect_equal(my_mean(c(1, 6, NA)), 3.5) })
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.