tests/testthat/test_tests.R

context("Statistical tests")
library(finalfit)
test_that("catTestfisher works", {
	expect_is(summary_factorlist(colon_s, "mort_5yr", "age.factor"), "data.frame")
})

Try the finalfit package in your browser

Any scripts or data that you put into this service are public.

finalfit documentation built on Nov. 17, 2023, 1:09 a.m.