test_that("egfr_*() works", {
expect_error(
egfr_mdrd(creatinine = 1.2, age = 60, female = TRUE, aa = TRUE),
NA
)
expect_error(
egfr_ckdepi(creatinine = 1.2, age = 60, female = TRUE, aa = TRUE),
NA
)
expect_error(
egfr_mdrd(creatinine = 1.2, age = 60, female = TRUE, aa = 1)
)
expect_error(
egfr_ckdepi(creatinine = 1.2, age = 60, female = TRUE, aa = 1)
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.