Skip to content

Shared instance of the test factory

Source: R/test_factory.R ยท Help: ?test_factory

Users can register new tests via this object. Built-in tests are pre-registered at package load time.

Details

Deprecated since 0.14.0, with TestFactory: it leaves the exports in 1.0.0, and as an object it cannot warn when used. Use registerDiagnostic() and runHeteroTests() instead.

Its "szroeter" entry is performSzroeterTest(), which needs the column that orders the observations, given as order_by: test_factory$run_test("szroeter", model, data, order_by = "x"). Without order_by it refuses the call and asks for it, since 0.16.0; before, it stopped with "argument "order_by" is missing, with no default".