Skip to content

Ensure that fit_xy() patches the formula environment with weights #705

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

Merged
merged 5 commits into from
Apr 21, 2022

Conversation

DavisVaughan
Copy link
Member

@DavisVaughan DavisVaughan commented Apr 20, 2022

  • Passed the weights through xy_form() to .convert_xy_to_form_fit()
  • Made .convert_xy_to_form_fit() apply the same patch to formula as fit()

I think the tests are going to fail due to some MLP related things that also currently fail in the case weights PR.

We don't import these, so we have to do this. Tests were only working by chance because we have `library(rlang)` in some of the test files!
@DavisVaughan DavisVaughan requested a review from topepo April 20, 2022 20:09
@topepo topepo merged commit 7c70d26 into feature/case-weights Apr 21, 2022
@topepo topepo deleted the fix/case-weights-xy branch April 21, 2022 17:36
@github-actions
Copy link

github-actions bot commented May 6, 2022

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 May 6, 2022
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.

2 participants