Skip to content
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

partial match optional patch from Ivan Krylov #149

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tdhock
Copy link

@tdhock tdhock commented Dec 19, 2023

@@ -598,14 +598,14 @@ data.frame <-
### These are a little less general than S

`[.data.frame` <-
function(x, i, j, drop = if(missing(i)) TRUE else length(cols) == 1)
function(x, i, j, drop = if(missing(i)) TRUE else length(cols) == 1, pmatch.rows = TRUE)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be an option like warnPartialMatch{Args,Attr,Dollar} to throw a warning if code is relying on the default behavior?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just saw your comment later in the thread implying you won't pursue this as a patch :) resolving

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants