teal.modules.general 0.5.1
- Removed ggmosaic package dependency to avoid being archived on CRAN
(#932).
teal.modules.general 0.5.0
Breaking changes
- Removed the tableobject decoration intm_missing_dataandtm_outliers(#899).
- Removed the summary_tableandtest_tableobject decoration intm_g_distribution(#897).
Bug fixes
- Fixed “Add to Report” functionality in tm_outliers,tm_missing_dataandtm_g_distributionmodules
(#899 and #897).
- Fixes a bug in tm_outliersthat fails when data has no
join keys (#650).
Enhancements
- Improved the layout and appearance of the app using
bslibcomponents.
- Fixed deprecation warning for tern::stack_grobsintm_g_association(#903).
- Allow search feature in tm_file_viewer(#152).
- Added remove_zero_columnstotm_t_crosstableto add an option to remove empty columns
(#890)
teal.modules.general 0.4.1
Bug fixes
- Fixes output is not updated when filter is added for the modules:
tm_a_pca,tm_a_regression,tm_g_scatterplot,tm_g_association,tm_g_bivariate,tm_g_distribution,tm_g_response,tm_t_crosstable(#870)
teal.modules.general 0.4.0
Enhancements
- Introduced transformatorsanddecoratorsargument to modules (#863).
- Modules’ Show R Code widgets include library calls to boost
reproducibility (#786).
- Removed Show Warningsmodals from modules.
Miscellaneous
- Soft deprecated datasets_selectedargument of modules
in favor ofdatanames.
- Soft deprecated show_metadataargument oftm_front_page()in favor ofdatanames.
- Added teal.loggerfunctionality for logging changes in
shiny inputs in all modules.
- All example data is now sourced from teal.data.
- Update tm_g_distributionto not start with validation
error (#823).
Bug fixes
- Fixed a bug in tm_missing_datain “Group by Subject”
that was not using reactive data call (#772).
- Fixed out-of-bound labels for tm_g_regression(#66).
- Fixed a bug in tm_g_associationwhere the app would
crash when a selected categorical variable was a factor instead of a
character (#645).
teal.modules.general 0.3.0
Enhancements
- Updated the package docs and vignettes with the new way of
specifying data for teal::init(). Thedataargument will accept ateal_dataobject.
Bug fixes
- Outlier labels no longer appear out of bounds in
tm_a_regression.
- Fixed a bug in tm_outlierswhen changing the selected
variable would cause a popup.
Miscellaneous
- Removed teal.slicedependencies.
- Specified minimal version of package dependencies.
teal.modules.general 0.2.16
Breaking changes
- Replaced chunkswith simplerqenvclass.
- Replaced datasetsargument containingFilteredDatawith the new argumentsdata(tdataobject) andfilter_panel_api(FilterPanelAPI).
Enhancements
- Added parent_datanameargument totm_variable_browserandtm_missing_datato
allow specification of parent dataset for these modules.
- Improved UIlabels and plot panel title intm_g_association.
- Added inputs tm_variable_browsermodule for text size
and plot theme.
- Forced ggplottheme to be always selected in all
modules.
- Updated encodings input checks to use
shinyvalidate::InputValidatorinstead ofshiny::validatefor betterUIexperience.
Bug fixes
- Fixed a bug in tm_g_scatterplotwhen selected x and y
facets were the same.
- Fixed a bug in tm_g_distributionto plot the
theoretical distribution with newerggplot2version.
- Fixed a bug in tm_g_bivariatewhen adding lines
checkbox was available if one of x or y was deselected.
- Fixed a bug in tm_variable_browserwhen changing
filters would reset the selected variable to the first on the list.
Miscellaneous
- Removed scdapackage dependency from examples.
- Replaced deprecated ggplot2functions..count..,..density..and..prop...
- Version bump on forcatsdependency.
- Replaced scdadata generation functions withrandom.cdisc.data
teal.modules.general 0.2.15
Enhancements
- Added the teal.reporterfunctionality to all
modules.
- Implemented nestcolorin the examples, refactoredtm_a_pcaandtm_missing_datato allow usingnestcolor.
- Added log transformation options to
tm_g_scatterplot.
- Added server_renderingflag totm_data_tableto control whether the table is rendered
server or client side.
Bug fixes
- Fixed the overflow of very wide tm_a_pcatables.
- Fixed the join type functionality in
tm_t_crosstable.
- Fixed a bug in tm_missing_datawhen selecting only
variables with missings.
- Fixed a bug in tm_missing_datawhen usingany_na.
Miscellaneous
- Moved packages only used in one module from ImportstoSuggestsin theDESCRIPTIONfile.
- Moved magrittrpackage fromDependstoImportsin theDESCRIPTIONfile.
teal.modules.general 0.2.14
Enhancements
- New tealmoduletm_front_pageto simplify
creating a front page fortealapps.
- Added a slider widget to control the font size of the label in
tm_g_scatterplot.
- Output integers without decimal places when selecting points in
tm_g_scatterplot.
- Improved the names of the code chunks shown in
Debug Info.
- Improved a validation message when the number of regressors is too
big in tm_a_regression.R.
Bug fixes
- Fixed a wrong validation in tm_a_pca.
- Fixed a crash when deselecting the categorical factor in
tm_outliers.
Miscellaneous
- Added a template to the pkgdownsite.
- Updated package authors.
teal.modules.general 0.2.13
Enhancements
- Rewrote modules to use moduleServerand updated call toplot_with_settings_srvafter changes inteal.devel.
- Fixed tracking of the selection order in
data_extract_ui. All selectors can return ordered selection
if one specifiesordered = TRUEinselect_spec.
- Switched order of tm_missing_datacombination plot to
show data in descending order.
- Changed By variable levelsoutput intm_missing_datato allow numerical sorting.
Miscellaneous
- Removed unneeded nrow intm_t_crosstable.
- Replaced calls to teal::root_moduleswithteal::modulesfollowing deprecation ofteal::root_modules.
- Adjusted package imports to take into account changes to the
tealframework.
- Added the “Getting started with teal.modules.general” vignette.
- Updated READMEfile.
- Moved the ggmosaicpackage fromDependstoImportsin theDESCRIPTIONfile.
teal.modules.general 0.2.12
Enhancements
- Added support for logging with the loggerpackage and
added info level logs upon initialization of a module.
- Added support for custom arguments for ggplot2::labsandggplot2::themein plot based modules.
- Added support for custom arguments for
rtables::basic_tableintm_t_crosstable.
- Updated tm_outliers,tm_g_scatterplotmatrix,tm_g_association, andtm_t_crosstablemodules to adopt the newteal.transform::data_merge_srvandteal.transform::data_extract_multiple_srvmodules.
- Distinguished bars representing NAin plot depicting
counts oftm_variable_browserwith a different color
fill.
- Modified the summary statistics table for numeric columns in
tm_variable_browserto reflect the plot afteroutliersare removed.
- Added an option to remove missing values in a
tm_variable_browserhistogram for factor like
variables.
- Added ability to sort by VariableandTypeintm_variable_browserby separating the variable type
icons into their own column.
- Updated the Grouped by Subjecttab of thetm_missing_datamodule to present data the same way theSummarytab does.
- Added support for NAlevel in grouping variable inBy variable levelstable intm_missing_datamodule.
- Added informative labels for each level of grouping variable in
By variable levelstable intm_missing_datamodule.
- Added a checkbox to tm_g_scatterplotto toggle the
option to free up the x and y axis scales whenever faceting arguments
are provided.
- Used browser-side processing in tm_data_tableso thatButtonsextension could download full table. Added example
for advanced usage ofDTin the module.
Bug fixes
- Fixed an error in tm_variable_browserwhen the selected
column islogical(1).
- Fixed bugs in the modules’ vignette examples.
Miscellaneous
- Added R version requirement R >= 3.6.
- Removed input_idargument fromteal.transform::data_merge_modulecalls in all
modules.
- Refactored the defunct teal.devel::data_extract_inputinto its replacementteal.transform::data_extract_ui.
- Updated teal.transform::data_merge_srvto usedplyr::inner_joininstead ofdplyr::left_joinintm_outliersmodule.
- Removed the overlay statistics table in
tm_g_distributionmodule.
- Removed dependency on test.nestpackage.
- Removed dependency on utils.nestpackage and replaced
its functions with equivalents from thecheckmatepackage.
teal.modules.general 0.2.11
New features
- A new module, tm_file_viewer, was added for the
visualization of static files.
- A new module, tm_g_distribution, was added for
distribution analysis.
Bug fixes
- Fixed the bar plot order for factor variables in
tm_variable_browser.
Enhancements
tm_variable_browser
- Added sparklinesupport forDate/POSIXct/POSIXltvariable
types.
- Fixed histograms to contain at least two bars.
tm_outliers
- Added filter_specsupport.
- Simplified returned R code.
- Support select_specfor categorical variables.
tm_g_scatterplotmatrix
- Added ordered select input support.
- Decoupled the dataset list from the variables list parameters.
tm_g_association
- Added ordered select input support.
tm_t_crosstable
- Added ordered select input support.
tm_g_scatterplot
- Modified the trend line feature of the scatterplot to display the
raw equation that will equal the actual yvalue when the
actualxvalues are plugged in.
Miscellaneous
- Updated LICENCEandREADMEwith new
package references.
- Added error_on_lint: TRUEto.lintr.
- Updated quantile type = 2argument intm_variable_browserto be in line with STREAM.
teal.modules.general 0.2.10
Enhancements
- Refactored the internal code of all the modules to optimize their
performance.
- Refactored tm_g_scatterplotto compute trend line
statistics usingggpmisc::stat_poly_eqto simplify code and
to have labels for each group on the plot.
- Refactored tm_g_scatterplotto enable filtering via the
Encoding Panel using the newfilter_specfunctionality.
- Added support for logical variables in
tm_variable_browser.
- Updated tm_outliersto handle non-CDISCdatasets.
- Updated UIoftm_variable_browserfor
factor and character variables with more than 30 levels.
- Updated sparklinesto remove NA values for numeric
variables.
- Added checkbox to display number of observations on plot to
tm_g_scatterplot.
- Added validation statements to tm_g_scatterplothandling users choosing more than one facet variable.
- Improved performance of tm_variable_browserby a more
efficientsparklinegeneration.
- Added the html code type for all datasets labels inside
tm_missing_data.
- Improved the styling of tool tips in tm_a_regression,tm_missing_dataandtm_variable_browser.
teal.modules.general 0.2.9
Enhancements
- Added download, enlarge and resize graph options to
tm_variable_browsermodule.
- Added download and expand options to the table in
tm_t_crosstable.
- Enabled selection of custom datasets for
tm_variable_browserwithdatasets_selectedargument.
- Allowed all dataset variables to be used as grouping variables in
by variable levelstab oftm_missing_data, not
just those selected to be displayed as rows in the table.
- Enabled the brushing of points in NA categories when facetting in
tm_g_scatterplot.
Bug fixes
- Added persistence for the number of entries displayed in data
tables.
- Removed ‘treat variable as factor’ checkbox in
tm_variable_browserif no graph shown.
- Fixed DTlength reset intm_variable_browseron “Show parent dataset variables”
checkbox tick.
teal.modules.general 0.2.8
New Module
tm_outliers
- Added new module tm_outliersto analyze outliers in
datasets.
Enhancements
tm_g_scatterplot
- Added max_degoptional argument to scatterplot to allow
users to choose the maximum smoothing degree for the trend line.
- Added column and row facetting functionality to the
scatterplot.
- Added possibility to specify type of join in
tm_t_crosstable. Incorporate missings resulting from non
inner join.
Bug Fixes
- Fixed edge case errors in tm_missing_datacaused by
inputdatasetnot having categorical variables or being adata.frameinstead oftibble.
- Fixed tm_a_pcabiplot plot when coloring with a
factor/character/numeric with < 6 values variable.
- Fixed typo in outlier definition in
tm_variable_browser.
Miscellaneous
- Sparklinesno longer shown for numeric variables with
more than 100000 rows.
- Colors legend for each plot.
- Replaced "Show variables other than in ADSL"checkbox
to more general"Show parent dataset variables".
- Capitalize default module labels.
- Some of the outputs of tm_missing_dataare conditional
to the data being aCDISCdata.
- Added pre_outputandpost_outputarguments
totm_data_table,tm_missing_data,tm_variable_browser.
- Fixed issue in tm_data_tablewhen selecting “show
distinct rows” if variable names had non-alphanumeric characters.
teal.modules.general 0.2.7
Enhancements
tm_variable_browser
- Introduced sparklinesfor quick, inline variable
summaries.
- Added option to remove outliers.
- Histograms and statistics tables are now displayed for variables of
type Date,POSIXctandPOSIXlt.
- Character variable summary statistics tables are now displayed in
decreasing order of occurrences instead of alphabetical.
- Display number of non-missing rows nin statistics
table for numeric variables.
- Added ability to treat numeric variables as categorical.
- tm_variable_browsershows from 30 up to 50 levels
divided in 2 columns for character/factor variables with more than 30
unique levels.
tm_a_regression
- Added support for outlier labels to tm_a_regressionand
provided an additional optional argument,default_outlier_labelwhich can be used to specify the
default column used to label outliers.
tm_g_scatterplot
- Implemented trend line.
- Added marginal density plots.
- Added option to display rug plot to both axes.
- Added shapeandpoint colorarguments. The
latter userscolourpicker::colourInput.
- Added size_byvariable to scatterplot and allowed for
point size to be mapped to a numeric variable.
tm_missing_data
- Added bar chart to missing data combination plot.
- Removed keys from missing data combinations plot in when they have
not been selected.
tm_g_bivariate
- Bivariate plots with two continuous variables now allow adding
lines.
- Show labels on x axis when selecting a categorical variable and
fixed issues when deselecting variables and datasets in the encodings
panel (including the addition of meaningful warnings).
tm_a_pca
- Updated to include Plot settingsandPlot specific settings.
Miscellaneous
- Integrated is_single_datasetargument fordata_extract_inputfunction calls to simplify encodings
panelUI.
- Moved codeargument tocdisc_dataset(fromcdisc_data) in examples and vignettes.
- Require ggmosaicversion >= 0.3.0.
teal.modules.general 0.2.6
- Adds additional plot settings such as themes for
tm_g_association,tm_g_response, andtm_g_scatterplot, as well as point size and opacity
settings fortm_g_associationandtm_g_scatterplot.
- Replace pickerInputwithoptionalSelectInputfortm_data_table.
- Adds new facetparameter totm_g_bivariateto specify whether the facet encodings elements should be visible to the
user by default.
- Replace plot_with_heightmodule with newplot_with_settingsmodule.
- Missing data module now uses chunks to get reproducible R code.
- New theme for missing data module and new label positioning.
- tm_data_table: allow developers to pass arguments to- DT::dataTableand use- pickerInputto select
variables.
- tm_g_responsea new argument- count_labels.
Counts might be assessed for the frequency plot too.
- Moved missing data module summary plot footer elements to tool tip
in encodings panels.
- Replaced baseplots intm_a_regressionwithggplot2.
- Added optional slider to adjust widthinplot_with_settings.
- Handle Infin data gracefully.
- tm_variable_browsernow outputs the summary table for
factors with all missing values.
teal.modules.general 0.2.5
- Adds ggplotcall inside chunks in modules.
- Pass on datanametoget_rcode_srv.
- Uses utils function to standardize plot label generation.
- Improved handling of variable labels.
- Removed “Add as filter variable” button from variable browser
module.
- Scatterplot matrix module now automatically converts characters to
factors with a message.
teal.modules.general 0.2.4
- New PCA module.
- Documentation fix for cross table module.
- Display variable labels in drop-down menu of data table (#393).
- Optional subsetting and ordering datasets for
tm_data_table.
- Use teal.code::chunks_push_data_mergeto include merge
code into reproducibility code.
- More consistent coloring behavior between bivariate plots.
- Updates to missing data module.
- Updated graph axis labels for the following modules: bivariate plot,
missing data, response plot, regression module, scatterplot, scatterplot
matrix.
- Simplify scatterplot matrix to display plot within one dataset
only.
teal.modules.general 0.2.3
- Fixed naming in tm_variable_browser.
- Correlation added to Scatter Plot Matrix.
- Opacity slider added to tm_bivariate.
- Fixes due to bug in teal.devel#313.
- Performance enhancements to missing data module.
- Fix bug with reactivity in scatterplot matrix module.
teal.modules.general 0.2.2
- New module to summarize missing data.
- Refactor of variable browser module.
- Correct display of density / frequency option in bivariate
plot.
teal.modules.general 0.2.1
- Fix magrittrloading in reproducible code.
teal.modules.general 0.2.0
- Refactor functions with data extract and data merge.
- Create sample_app.R demonstrating teal.modules.general modules.
- Rename tm_tableontm_cross_table.
- Include show R code in all modules.
- Merge tm_cross_tableandtm_t_percentage_tableinto one module.
teal.modules.general 0.1.0