Re: [Rd] named arguments in formula and terms

2017-03-13 Thread Achim Zeileis
Martin, thanks for the follow-up! On Mon, 13 Mar 2017, Martin Maechler wrote: Dear Achim, Achim Zeileis on Fri, 10 Mar 2017 15:02:38 +0100 writes: > Hi, we came across the following unexpected (for us) > behavior in terms.formula: When determining

Re: [Rd] named arguments in formula and terms

2017-03-13 Thread Martin Maechler
Dear Achim, > Achim Zeileis > on Fri, 10 Mar 2017 15:02:38 +0100 writes: > Hi, we came across the following unexpected (for us) > behavior in terms.formula: When determining whether a term > is duplicated, only the order of the arguments in

[Rd] named arguments in formula and terms

2017-03-10 Thread Achim Zeileis
Hi, we came across the following unexpected (for us) behavior in terms.formula: When determining whether a term is duplicated, only the order of the arguments in function calls seems to be checked but not their names. Thus the terms f(x, a = z) and f(x, b = z) are deemed to be duplicated and