test_that("get_midpoints works", { expect_equal(get_midpoints(c(2, 0, 8, 5, 3)), c(1, 2.5, 4, 6.5)) })
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.