Nothing
test_that("norfertility", {
expect_error(norway_fertility |> life_table())
})
test_that("normortality", {
lt <- norway_mortality |>
dplyr::filter(Year == 1950, Sex == "Male") |>
life_table()
expect_lt(abs(lt$ex[10] - 63.97662), 1e-3)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.