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
This is VERY much an edge case, but wanted to let you know. It seems that if a variable name has a + in it, tidy_remove_intercept() will remove both the intercept and the variable from the model. If this is a complicated fix, perhaps just a message to the user, "more than one row was removed from the table. possible error occurred likely due to unusual naming conventions used for terms."
The problem arrives in fact earlier when identifying variables, due to the presence in the variable name of a character with a special meaning in a regular expression.
This is VERY much an edge case, but wanted to let you know. It seems that if a variable name has a
+
in it,tidy_remove_intercept()
will remove both the intercept and the variable from the model. If this is a complicated fix, perhaps just a message to the user, "more than one row was removed from the table. possible error occurred likely due to unusual naming conventions used for terms."Created on 2020-10-02 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: