tests/testthat/test-nmodules.R

context('nmodules')

test_that('a warning is thrown if there are no modules', {
	cem <- new_cem()
	expect_warning(nmodules(cem))
})

Try the CEMiTool package in your browser

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

CEMiTool documentation built on March 13, 2021, 2 a.m.