inst/tinytest/test_MME_functions.R

## Use spring oats data with lattice design.
data(oats.data)

## Checks for correct inputs.
obj <- LMMsolve(yield ~ rep,
                      random = ~gen + block:gen,
                      data = oats.data)

expect_error(displayMME(object = obj$C),
             "object should be an object of class LMMsolve.")

expect_error(diagnosticsMME(object = obj$C),
             "object should be an object of class LMMsolve.")

Try the LMMsolver package in your browser

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

LMMsolver documentation built on Sept. 24, 2026, 5:09 p.m.