You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue of guarding against unintended argument matches is quite frustrating. I recall various proposals, such as those on the R-dev mailing list, for how to improve this.
I really wish I could use ; as a separator when defining and calling functions, where arguments before ; would match positionally, and arguments after ; would match by name. For example:
Fairly obvious. The rough equivalent
methods::initialize()
avoids this by naming its first parameter.Object
, which is a lot less likely to collide.The text was updated successfully, but these errors were encountered: