library(rftk)
test_that("linear_mean - empty arguments", {
expect_error(linear_mean())
})
test_that("linear_mean - results", {
linear_mean(-88:-90) %>% expect_equal(-88.92358, tolerance = 1e-5)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.