tests/testthat/test_ffs.R

context("ff")
library(finalfit)
test_that("ff_columns_totals gives data.frame", {
	expect_is(summary_factorlist(colon_s, "mort_5yr", "age.factor") %>%
							ff_column_totals(colon_s, "mort_5yr"), "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.