test_that("add_info_content works", {
phenos <- example_phenos()
phenos2 <- add_info_content(phenos = phenos)
testthat::expect_true(min(phenos2$info_content)==0)
testthat::expect_true(max(phenos2$info_content)>2)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.