in the generic predictSolute rather than at the top of every predictSolute.xx function. Right? Let's try it. If it doesn't work, make sure agg.by <- match.arg(agg.by) gets into predictSolute.loadLm and predictSolute.loadComp and anywhere else it's currently not.
Seems like it ought to be possible to put checks like these:
in the generic
predictSolute
rather than at the top of everypredictSolute.xx
function. Right? Let's try it. If it doesn't work, make sureagg.by <- match.arg(agg.by)
gets into predictSolute.loadLm and predictSolute.loadComp and anywhere else it's currently not.