[R--gR] Modelformulae
[...]
* Conditioning symbol | is followed by a simple variable list eg (X,Y,A)
yes, but not with parentheses (as commented by David M)
and neither with colons: things like fun(~ A + B | C, D) are clearly misunderstood by the parser. -d