-
Notifications
You must be signed in to change notification settings - Fork 106
Description
I just got the following email message from Martin Maechler:
just a quick note before I embark on longish trip to Calgary Canada:
Following up the thread on the R-devel mailing list,
I've recently changed formula(<model.frame>) behavior such that it
returns the formula from the "terms" attribute of the model frame,
rather than a newly constructed formula from the model.frame's
variables (as it does for non-model.frame data frames).
You may have noticed on the CRAN checks for vegan that this breaks at
least one of vegan's examples on "R-devel" (R's development version).
I may take time on the long plane flight to see how to fix it... or
may not: vegan seems to be doing pretty "strange" contortions in
evaluating formulas,
as far as I could tell, quite a bit non-standard and different than
say lm(), glm() etc.
This may mean that we have to do something with the formula. Most likely this concerns cca.formula and its ilk. Other functions have more usual handling of formula, although we do have matrix-like right-hand-side in most functions.