# Run tests
devtools::test()
# Ref: https://jozef.io/r104-unit-testing-coverage/
# Capture test coverage - run in the package root
detach("package:CohortGenerator", unload=TRUE)
covResults <- covr::package_coverage()
print(covResults)
# Visually inspect the code to see where we lack coverage
zeroCov <- covr::zero_coverage(covResults)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.