On Mon, 6 Dec 2010, William Dunlap wrote:
I was writing some assertion tests for modelling-related
code I had written and was surprised to see one test
fail because the "specials" attribute of the output of
terms() is a "pairlist" instead of a "list". In 2.12.0
I get:
> dput(attr(terms(y~Spec
I was writing some assertion tests for modelling-related
code I had written and was surprised to see one test
fail because the "specials" attribute of the output of
terms() is a "pairlist" instead of a "list". In 2.12.0
I get:
> dput(attr(terms(y~Spec(x1)+x2, specials=c("Spec")), "specials"))