tests/testthat/test_check_recode.R

context("check_recode")
library(finalfit)
test_that("check_recode gives list", {
	expect_is(check_recode(colon_s[,1:2]), "list")
})

test_that("check_recode gives list", {
	expect_is(check_recode(colon_s[,1:2], include_numerics = TRUE), "list")
})

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.