-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method consistency changes #85
Comments
A related question is whether supplying |
I'm confused by the
Interface evolution was very difficult in DBI. |
Arguments after |
Notes from meeting: Proposed principle: If a generic has Would make sense for methods to supply defaults since the generic often does not have enough information to supply. For example, generalise of something like |
In dplyr, for example, we have > dplyr::summarise
function (.data, ..., .groups = NULL)
{
UseMethod("summarise")
}
<bytecode: 0x7fb9ba5ceb88>
<environment: namespace:dplyr>
> dtplyr:::summarise.dtplyr_step
function (.data, ...)
{ |
Do the "extra arguments" have to come after the dots?
|
The method formals would not need to include |
To support discussion in #7:
Created on 2021-10-27 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: