This is a utility function that attempts to evaluate a call to mmrm managing any warnings or errors that are thrown.
Arguments
- expr
An expression to be evaluated. Should be a call to
mmrm::mmrm()
.
Details
This function was originally developed for use with glmmTMB
which needed
more hand-holding and dropping of false-positive warnings. It is not
as important now but is kept around encase we need to catch
false-positive warnings again in the future.
Examples
if (FALSE) { # \dontrun{
eval_mmrm({
mmrm::mmrm(formula, data)
})
} # }