One simple way would be to consider UseMethod and NextMethod as function calls, and they would call all functions in the package that have a name that matches these calls.
This is not perfect, but R is a dynamically typed language, so you cannot really do much better, without actually running the code and seeing the values passed on.
One simple way would be to consider
UseMethod
andNextMethod
as function calls, and they would call all functions in the package that have a name that matches these calls.This is not perfect, but R is a dynamically typed language, so you cannot really do much better, without actually running the code and seeing the values passed on.