Hi,
a follow up. If I replace all 'foo %in% bar' in setMethodS3.default()
with is.element(foo, bar) the error goes away. Here is is.element():
> is.element
function (el, set)
match(el, set, 0) > 0
Not much of a difference compared to "%in%"(),
> get("%in%")
function (x, table)
match(x, table
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