Skip to content
Prev 11122 / 12125 Next

[R-pkg-devel] Changes in function call with respect to the current published version

Dear Jose,

Assuming that you can fix the bugs in the original function, one 
approach would be to make myfun() generic, say myfun <- function(y, ...) 
UseMethod("myfun"), with the (fixed) original myfun() as the default 
method and a new function method, which would probably set up a call to 
the default method. Then existing code wouldn't break and users would 
have the option of using a formula.

I hope this helps,
  John