test_that("Checking output format type as summary", {
result <- tabMWRfre(tst$respth, tst$accpth, tst$frecompth, runchk = F, warn = F, type = 'summary')
expect_s3_class(result, 'flextable')
})
test_that("Checking output format type as percent", {
result <- tabMWRfre(tst$respth, tst$accpth, tst$frecompth, runchk = F, warn = F, type = 'percent')
expect_s3_class(result, 'flextable')
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.