context("Calculating effective annual rate")
test_that("effective annual rate calculates correctly", {
expect_equal(effective_annual_rate(0.10, 2), .1025, tolerance = 1e-3)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.