That's more or less right. We wrote a terms.merMod method, which
accesses the terms component of the @frame slot, which we have modified
upstream ...
Do you mean term.labels rather than term.names?
BTW ?terms.object says (under the "term.labels" element):
Non-syntactic names will be
Ben,
I looked at the source code you pointed out, and the line
fr <- fr[attr(terms(fr),"varnames.fixed")]
sure looks to me as though the terms() function has returned an object with a
varnames.fixed attribute. Either that or your code has inside knowledge that a reader
like me won't know.