> When you provide a method for a generic function imported from another > package then the generic must be on the search path. Otherwise if a user > types "filter" the dispatch to "filter.test" will never occur.
Right, and this is as desired. If dplyr is not explicitly loaded by the user, filter.ggvis will never be called. I don't understand why ggvis should be need to re-export filter from dplyr - the intent is that filter will be useable with ggvis object, but you'll only have the filter generic available if you've loaded dplyr. Hadley -- http://had.co.nz/ ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel