Display output on tm_data_table, tm_variable_browser, tm_missing_data #829
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.
Pull Request
Fixes insightsengineering/teal#1452
This PR works on the edge cases of
datanames = "all"
andNULL
for each three modules, in addition I also revised the decision ontm_front_page
to show all modules by default, and reverted back to not showing the panels by default, as per previous behavior and @vedhav compelling comment.Code used to check this (besides the examples)
tm_data_table()
tm_variable_browser()
tm_missing_data()
1: No right-panel but the table uses all datasets that are data.frames. I was thinking if
variables_selected
names should be used whendatanames
is NULL ? So that something like this should only show IRIS dataset and no left panel.But this gets complicated if one wants to keep the standard 6 columns of the datasests as assertion fails:
2: No right-panel but all the datasets that are data.frames are shown.
I also tested whether transformators worked with
tm_missing_data
(the only one of these three modules with a transformator argument) because thedatanames
documentation implies it will be merged with it: currently it doesn't and I'm not sure how to fix it.If I create a transformator and use datanames not equal to all by default the new dataname won't be used.
I need to explore better the interaction between teal::module and the transformator.
reprex with transformator