mayer79 / missRanger

Fast multivariate imputation by random forests.
https://mayer79.github.io/missRanger/
GNU General Public License v2.0
63 stars 11 forks source link

Fix issues with formula interface #52

Closed mayer79 closed 1 year ago

mayer79 commented 1 year ago

Fixes problem with syntactically wrong column names:

Additionally, at least for the default formula ". ~ .", parsing data.frames with many thousands of columns would not fail anymore. This has partly fixed by catching the ". ~ ." case in the initial formula parsing, and switching to ranger()s "x/y" interface. This solves

codecov-commenter commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9453a1e) 95.16% compared to head (57eabbe) 97.35%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #52 +/- ## ========================================== + Coverage 95.16% 97.35% +2.19% ========================================== Files 4 4 Lines 186 189 +3 ========================================== + Hits 177 184 +7 + Misses 9 5 -4 ``` | [Files](https://app.codecov.io/gh/mayer79/missRanger/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Michael+Mayer) | Coverage Δ | | |---|---|---| | [R/missRanger.R](https://app.codecov.io/gh/mayer79/missRanger/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Michael+Mayer#diff-Ui9taXNzUmFuZ2VyLlI=) | `97.03% <100.00%> (+3.09%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.