larmarange / broom.helpers

A set of functions to facilitate manipulation of tibbles produced by broom
https://larmarange.github.io/broom.helpers/
GNU General Public License v3.0
21 stars 8 forks source link

new argument `model_matrix_attr` #255

Closed larmarange closed 2 months ago

larmarange commented 2 months ago

in tidy_and_attach() and tidy_plus_plus() to attach model frame and model matrix to the model as attributes for saving some execution time

fix #254

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 95.10%. Comparing base (eb98796) to head (ca28f72). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/larmarange/broom.helpers/pull/255/graphs/tree.svg?width=650&height=150&src=pr&token=onefg3YI04&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange)](https://app.codecov.io/gh/larmarange/broom.helpers/pull/255?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange) ```diff @@ Coverage Diff @@ ## main #255 +/- ## ========================================== + Coverage 95.01% 95.10% +0.08% ========================================== Files 43 43 Lines 2707 2715 +8 ========================================== + Hits 2572 2582 +10 + Misses 135 133 -2 ``` | [Files](https://app.codecov.io/gh/larmarange/broom.helpers/pull/255?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange) | Coverage Δ | | |---|---|---| | [R/model\_get\_model\_frame.R](https://app.codecov.io/gh/larmarange/broom.helpers/pull/255?src=pr&el=tree&filepath=R%2Fmodel_get_model_frame.R&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange#diff-Ui9tb2RlbF9nZXRfbW9kZWxfZnJhbWUuUg==) | `100.00% <100.00%> (ø)` | | | [R/model\_get\_model\_matrix.R](https://app.codecov.io/gh/larmarange/broom.helpers/pull/255?src=pr&el=tree&filepath=R%2Fmodel_get_model_matrix.R&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange#diff-Ui9tb2RlbF9nZXRfbW9kZWxfbWF0cml4LlI=) | `92.50% <100.00%> (+3.02%)` | :arrow_up: | | [R/tidy\_and\_attach.R](https://app.codecov.io/gh/larmarange/broom.helpers/pull/255?src=pr&el=tree&filepath=R%2Ftidy_and_attach.R&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange#diff-Ui90aWR5X2FuZF9hdHRhY2guUg==) | `92.98% <100.00%> (+0.38%)` | :arrow_up: | | [R/tidy\_plus\_plus.R](https://app.codecov.io/gh/larmarange/broom.helpers/pull/255?src=pr&el=tree&filepath=R%2Ftidy_plus_plus.R&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange#diff-Ui90aWR5X3BsdXNfcGx1cy5S) | `100.00% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/larmarange/broom.helpers/pull/255/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange)