test_that("earthquakes_energy", {
options("scipen"=100, "digits"=4)
expect_equal(earthquakes_energy(6, "joule"), 63095734448019)
expect_equal(earthquakes_energy(6, "erg"), 630957344480194330644)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.