tests/testthat/test-hrv_modeling.R

# Model building
test_that("sequential model building uses a formula", {
	data(geh)
	f <- svg_mag + qrs_tang ~ lab_hba1c + bmi
	expect_s3_class(f, "formula")
})

Try the card package in your browser

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

card documentation built on Sept. 3, 2020, 9:07 a.m.