-
-
Notifications
You must be signed in to change notification settings - Fork 15
Replace table by plot on tm_missing_data #922
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
base: main
Are you sure you want to change the base?
Conversation
Code Coverage Summary
Diff against main
Results for commit: 8a311f1 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary 1 files 23 suites 25m 18s ⏱️ For more details on these failures and errors, see this check. Results for commit 8a311f1. ♻️ This comment has been updated with latest results. |
…g/teal.modules.general into 495_plot_missing@main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Branch code removed and some other code removal.
Linters with nolint start/end end with a dot.
See also the reply on formatters
, if arguments are not convincing I'll move it to Imports
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR replaces the “By Variable Levels” table in tm_missing_data with a plot, updates the module’s outputs/decorators accordingly, and standardizes library loading strings across modules. It also adds the formatters package to Suggests.
- Replace “By Variable Levels” table with a new ggplot output (by_variable_plot) and wire it into UI, server, decorators, and reporter dims.
- Update documentation to list by_variable_plot and its decorator, and standardize eval_code library strings.
- Add formatters (>= 0.5.11) to Suggests.
Reviewed Changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 10 comments.
Show a summary per file
File | Description |
---|---|
R/tm_missing_data.R | Switch “By Variable Levels” from a DT table to a ggplot, add decorator plumbing, and integrate plot_with_settings. |
man/tm_missing_data.Rd | Document the new by_variable_plot output and decorator usage. |
DESCRIPTION | Add formatters (>= 0.5.11) to Suggests. |
R/tm_outliers.R, R/tm_t_crosstable.R, R/tm_g_scatterplotmatrix.R, R/tm_g_scatterplot.R, R/tm_g_response.R, R/tm_g_distribution.R, R/tm_g_bivariate.R, R/tm_g_association.R, R/tm_data_table.R, R/tm_a_regression.R, R/tm_a_pca.R | Standardize library loading strings in eval_code and adjust nolint comments. |
R/teal.modules.general.R | Adjust nolint block markers. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Signed-off-by: Lluís Revilla <[email protected]>
Unit Test Performance Difference
Additional test case details
Results for commit aa67b0e ♻️ This comment has been updated with latest results. |
Hey @llrs-roche I saw 2 tests are failing |
@llrs-roche I see still issues with R CMD CHECK |
Pull Request
Fixes #495
Replaces the table by a plot on "By Variables Levels" tab.
The colors match those in the other plots of the module.
It also required to add a "new" dependency, formatters, which is a dependency of tern, rlistings, rtable. I added it on Suggests.
There is an extra commit to update the lintr names