Skip to content

Conversation

@DavisVaughan
Copy link
Member

Closes #174
Closes #173

Hopefully this is a more robust solution than using grepl(). The column names of the factor matrix were all originally expressions, so re-parsing them should always work. And I'm fairly certain the edge cases of expr_contains() are handled nicely.

I couldn't actually come up with a case to test for this, but it seems more consistent and robust anyways
@DavisVaughan DavisVaughan merged commit 2afc981 into main Nov 24, 2021
@DavisVaughan DavisVaughan deleted the fix/interaction-grepl branch November 24, 2021 17:42
@github-actions
Copy link

github-actions bot commented Dec 9, 2021

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug Report: mold() incorrectly thinks there is an interaction on the LHS of the formula

2 participants