Repository navigation
Refactor format.R - #734
Open
strengejacke wants to merge 2 commits into
Open
strengejacke wants to merge 2 commits into
strengejacke wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The changes address the identified missing-value handling issue and include targeted regression coverage for offset fallbacks and estimate modes, with no active review issues remaining.
No open issues 🎉
What changed in this PR
Refactors marginal-means grid setup and formatting helpers while fixing offset mean fallbacks for missing values.
Changes:
- Extracted reusable grid-configuration and formatting helpers.
- Corrected missing-value handling for offset fallback means.
- Added regression tests for offset handling and estimate modes.
| File | Description |
|---|---|
| tests/testthat/test-offset.R | Adds regression tests for offset fallback means with missing values. |
| tests/testthat/test-estimate_means_dotargs.R | Adds tests for marginal-means arguments across estimate modes. |
| R/utils_datagrid.R | Adds reusable grid-argument configuration and fixes offset fallback handling. |
| R/get_marginalmeans.R | Uses the extracted marginal-means grid configuration helper. |
| R/format.R | Extracts formatting, contrast parsing, and infinite-column removal helpers. |
Review effort: Lite
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.