This is normally an internal function, but it can be overloaded to extend simr
to other packages.
doTest(object, test, ...)
a p-value with attributes describing the test.
an object to apply a statistical test to, usually a fitted model.
a test function, see tests.
additional options.