This could be quite trivial (or could be not): when passing a character string argument to standardGeneric, the argument is not passed properly:

dummy <- function(str){
+ setGeneric(str, function(object, ...) standardGeneric(str))
+ }
dummy("foo")
[1] "foo"
Warning message:
The body of the generic function for "foo" calls standardGeneric to dispatch on a different name ("str")! in: .recursiveCallTest(body, fname)


I don't know how this call test works but the test shouldn't fail in this case!


______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to