From hb at stat.berkeley.edu  Thu Mar  6 11:27:49 2008
From: hb at stat.berkeley.edu (Henrik Bengtsson)
Date: Thu, 6 Mar 2008 02:27:49 -0800
Subject: [Rd] Argument "nomatch" matched by multiple actual arguments ...
	%in% -> match?!?
Message-ID: <59d7961d0803060227o44eae581m385bf8168b1b56d4@mail.gmail.com>

When I run R CMD check R.oo on R v2.7.0 devel (2008-03-04 r44677) on
WinXP I get the following error while testing examples:

Error in match(x, table, nomatch = 0) :
  formal argument "nomatch" matched by multiple actual arguments
Calls: setMethodS3 -> setMethodS3.default -> %in% -> match
Execution halted

How is that even possible with:

> get("%in%")
function (x, table)
match(x, table, nomatch = 0) > 0
<environment: namespace:base>

All '%in' statements in setMethodS3.default are of kind (foo %in%
bar).   The error does not happen if I run the example(Object)
explicitly.

/Henrik



[Rd] Argument "nomatch" matched by multiple actual arguments ... %in% -> match?!?
Henrik Bengtsson