Releases: insightsengineering/teal.modules.general
Releases · insightsengineering/teal.modules.general
v0.3.0
Enhancements
- Updated the package docs and vignettes with the new way of specifying data for
teal::init()
. Thedata
argument will accept ateal_data
object
Bug fixes
- Outlier labels no longer appear out of bounds in
tm_a_regression
. - Fixed a bug in
tm_outliers
when changing the selected variable would cause a popup.
Miscellaneous
- Removed
teal.slice
dependencies. - Specified minimal version of package dependencies.
What's Changed
- Fixing inconsistent Styling and Layout for 'Show Warning' and 'Show R Code' Buttons by @kartikeyakirar in #573
- Unified Visual Consistency for UI Components#564 by @kartikeyakirar in #565
- Workflow propagation by @walkowif in #579
- Add tables to
show-r-code
in distribution, scatterplot and outliers modules by @averissimo in #574 - 566 Consistent white background for modules by @kartikeyakirar in #581
- 556 Longer labels for x axis in the
tm_variable_browser()
are not fully displayed by @kartikeyakirar in #580 - Only retain hard dependencies from pre-commit hooks by @averissimo in #582
- Adds min package version by @averissimo in #538
- 198 Include user's card labels when generating the report by @kartikeyakirar in #584
- Replace the
qplot
function withggplot
equivalent by @vedhav in #586 - Update docs to use the new
teal_data
instead ofTealData
by @vedhav in #597 - Apply facet rule only when supplied by @vedhav in #599
- Make sure to pass a
data.frame
intoteal::validate_has_data
by @vedhav in #601 - tdata to teal_data by @gogonzo in #603
- fix resolve_delayed by @gogonzo in #618
- Workflow propagation by @walkowif in #617
- 619 update modules to handle default datanames when datanames = "all" by @kartikeyakirar in #621
- 507 reevaluate
variable_types
by @chlebowa in #622 - Fix pkgdown redirect by @vedhav in #630
- Propagate files from insightsengineering/.github by @insights-engineering-bot in #631
- [skip actions] Propagate files from insightsengineering/.github by @insights-engineering-bot in #632
- 635 remove test theme by @chlebowa in #636
- fix nolint syntax by @chlebowa in #638
- 29 add non-cdisc examples to the modules by @chlebowa in #651
- Fix the silent error in
tm_a_pca
by @vedhav in #688 - Remove the internal function
var_labels
in favour ofteal.data::col_labels
by @vedhav in #690 tm_g_regression
labels are no longer allowed out of bounds by @averissimo in #675- Fix factors crash in
tm_g_association
by @vedhav in #692 - Fixes popup dialog that keeps appearing when variable is changed on
tm_outliers
by @averissimo in #693 - Store the user selections so our default selection logic can be applied by @vedhav in #699
- 624 PACKAGE LEVEL pre-release activities by @m7pr in #639
- [skip vbump] upversion to 0.3.0 by @donyunardi in #704
Full Changelog: v0.2.16...v0.3.0
v0.2.16
Breaking changes
- Replaced
chunks
with simplerqenv
class. - Replaced
datasets
argument containingFilteredData
with the new argumentsdata
(tdata
object) andfilter_panel_api
(FilterPanelAPI
).
Enhancements
- Added
parent_dataname
argument totm_variable_browser
andtm_missing_data
to allow specification of parent dataset for these modules. - Improved
UI
labels and plot panel title intm_g_association
. - Added inputs
tm_variable_browser
module for text size and plot theme. - Forced
ggplot
theme to be always selected in all modules. - Updated encodings input checks to use
shinyvalidate::InputValidator
instead ofshiny::validate
for betterUI
experience.
Bug fixes
- Fixed a bug in
tm_g_scatterplot
when selected x and y facets were the same. - Fixed a bug in
tm_g_distribution
to plot the theoretical distribution with newerggplot2
version. - Fixed a bug in
tm_g_bivariate
when adding lines checkbox was available if one of x or y was deselected. - Fixed a bug in
tm_variable_browser
when changing filters would reset the selected variable to the first on the list.
Miscellaneous
- Removed
scda
package dependency from examples. - Replaced deprecated
ggplot2
functions..count..
,..density..
and..prop..
. - Version bump on
forcats
dependency.
What's Changed
- [skip vbump] Dev version with 9xxx by @arkadiuszbeer in #481
- scda.2022 by @nikolas-burkoff in #483
- Teal refactor by @nikolas-burkoff in #485
- Add coverage badge by @walkowif in #486
- Unhelpful title in tm_g_association by @chlebowa in #487
- Enable checks for
workflow_dispatch
event by @walkowif in #488 - [UAT] scale text on the variable browser plot with the plot hieght and width #312 by @chlebowa in #490
- add missing utils prefix by @chlebowa in #492
- 376 facet error@main by @BLAZEWIM in #494
- hide theoretical distribution by @mhallal1 in #496
- Badges and contribution guidelines by @insights-engineering-bot in #497
- fix bug by @mhallal1 in #502
- make themes non-optional by @chlebowa in #504
- add shinyvalidate to tmg by @mhallal1 in #498
- check to assert by @pawelru in #512
- clean up by @chlebowa in #513
- Update check as-cran and default landing page by @walkowif in #514
- Update
rtables
staged dep by @edelarua in #517 - add teal.gallery ref to readme by @pawelru in #519
- remove deprecated fun; vbump dep by @pawelru in #515
- make count as globalVariables by @donyunardi in #525
- 523 bugfix categorical var@main by @BLAZEWIM in #524
- Workflow updates by @walkowif in #522
- Update workflows by @walkowif in #526
- reduce the amount of spelling issues / WORDLIST by @m7pr in #528
- Workflow propagations by @walkowif in #531
- extend examples timing threshold to 11 seconds by @m7pr in #533
- 521 documentation review before the release by @m7pr in #530
- Decoupled scda by @kartikeyakirar in #534
- Move TealReportCard to teal by @gogonzo in #535
- empty by @gogonzo in #537
- Update install by @gogonzo in #539
- 84 qenv prints plots to the device when running shiny app by @kartikeyakirar in #540
- propagate argument name change in teal::module by @chlebowa in #541
- Revert square bracket@main by @gogonzo in #553
- [Bug]: plots from tm_g_scatterplot and tm_a_regression modules print on IDE 554 by @kartikeyakirar in #555
- 545 Keep selected variable in var browser as filters are changed by @averissimo in #549
- 561 Allow the selection of a categorical variable in
tm_outliers
by @averissimo in #562 - 559 Change order of
Show R code
/Show warnings
buttons to be consistent with other modules by @averissimo in #563 - 570 horizontal lines by @chlebowa in #572
- release 0.2.16 [skip vbump] [skip spelling] by @donyunardi in #576
New Contributors
- @walkowif made their first contribution in #486
- @BLAZEWIM made their first contribution in #494
- @donyunardi made their first contribution in #525
- @m7pr made their first contribution in #528
- @kartikeyakirar made their first contribution in #534
- @averissimo made their first contribution in #549
Full Changelog: v0.2.15...v0.2.16
v0.2.15
Enhancements
- Added the
teal.reporter
functionality to all modules. - Implemented
nestcolor
in the examples, refactoredtm_a_pca
andtm_missing_data
to allow usingnestcolor
. - Added log transformation options to
tm_g_scatterplot
. - Added
server_rendering
flag totm_data_table
to control whether the table is rendered server or client side.
Bug fixes
- Fixed the overflow of very wide
tm_a_pca
tables. - Fixed the join type functionality in
tm_t_crosstable
. - Fixed a bug in
tm_missing_data
when selecting only variables with missings. - Fixed a bug in
tm_missing_data
when usingany_na
.
Miscellaneous
- Moved packages only used in one module from
Imports
toSuggests
in theDESCRIPTION
file. - Moved
magrittr
package fromDepends
toImports
in theDESCRIPTION
file.
What's Changed
- fix news by @gogonzo in #413
- Contribution guide updates by @insights-engineering-bot in #415
- remove datasets$get_data_attr call by @gogonzo in #417
- docs: replaced github links with pkgdown links by @kpagacz in #418
- add reporter to modules by @mhallal1 in #422
- DESC and README by @denisovan31415 in #425
- Update Rbuildignore and add auto-updates by @insights-engineering-bot in #426
- update desc file by @nikolas-burkoff in #427
- Update pre-commit config to detect
_pkgdown.y[a]ml
by @insights-engineering-bot in #429 - 416 Implement
nestcolor
in TMG by @edelarua in #428 - Update font awesome icon labels for FA 6 by @cicdguy in #433
- remove filtered by @nikolas-burkoff in #431
- reporter cleaning by @mhallal1 in #430
- Update documentation workflow by @insights-engineering-bot in #435
- tmg css by @Polkas in #432
- Merge pre-release to main by @cicdguy in #441
- add log transformation for scatterplot by @nikolas-burkoff in #448
- server_rendering argument to
tm_data_table
by @nikolas-burkoff in #450 - fix join_fun crosstable by @Polkas in #452
- Update check.yaml by @arkadiuszbeer in #443
- R CMD check fixes by @mhallal1 in #457
- reduce imports by @mhallal1 in #458
- Update tm_missing_data.R by @Polkas in #464
- tmg - bs345 by @Polkas in #454
- Removing if condition for by @arkadiuszbeer in #455
- Update tm_g_distribution.R by @nikolas-burkoff in #472
- tm_missing_data: add dataname to report by @mhallal1 in #473
- allow easy close for front page module by @nikolas-burkoff in #475
- NEWS by @mhallal1 in #474
- Update tm_missing_data.R by @Polkas in #479
- [skip vbump] Release for version 0.2.15 by @insights-engineering-bot in #480
New Contributors
Full Changelog: v0.2.14...v0.2.15
v0.2.14
Enhancements
- New
teal
moduletm_front_page
to simplify creating a front page forteal
apps. - 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
pkgdown
site. - Updated package authors.
v0.2.12
Enhancements
- Added support for logging with the
logger
package and added info level logs upon initialization of a module. - Added support for custom arguments for
ggplot2::labs
andggplot2::theme
in plot based modules. - Added support for custom arguments for
rtables::basic_table
intm_t_crosstable
. - Updated
tm_outliers
,tm_g_scatterplotmatrix
,tm_g_association
, andtm_t_crosstable
modules to adopt the newteal.devel::data_merge_srv
andteal.devel::data_extract_multiple_srv
modules. - Distinguished bars representing
NA
in plot depicting counts oftm_variable_browser
with a different color fill. - Modified the summary statistics table for numeric columns in
tm_variable_browser
to reflect the plot afteroutliers
are removed. - Added an option to remove missing values in a
tm_variable_browser
histogram for factor like variables. - Added ability to sort by
Variable
andType
intm_variable_browser
by separating the variable type icons into their own column. - Updated the
Grouped by Subject
tab of thetm_missing_data
module to present data the same way theSummary
tab does. - Added support for
NA
level in grouping variable inBy variable levels
table intm_missing_data
module. - Added informative labels for each level of grouping variable in
By variable levels
table intm_missing_data
module. - Added a checkbox to
tm_g_scatterplot
to toggle the option to free up the x and y axis scales whenever faceting arguments are provided. - Used browser-side processing in
tm_data_table
so thatButtons
extension could download full table. Added example for advanced usage ofDT
in the module.
Bug fixes
- Fixed an error in
tm_variable_browser
when the selected column islogical(1)
. - Fixed bugs in the modules' vignette examples.
Miscellaneous
- Added R version requirement
R >= 3.6
. - Removed
input_id
argument fromteal.devel::data_merge_module
calls in all modules. - Refactored the defunct
teal.devel::data_extract_input
into its replacementteal.devel::data_extract_ui
. - Updated
teal.devel::data_merge_srv
to usedplyr::inner_join
instead ofdplyr::left_join
intm_outliers
module. - Removed the overlay statistics table in
tm_g_distribution
module. - Removed dependency on
test.nest
package. - Removed dependency on
utils.nest
package and replaced its functions with equivalents from thecheckmate
package.
v0.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
- Updated examples and tests using
scda
synthetic data to replacerandom.cdisc.data
.
tm_variable_browser
- Added
sparkline
support forDate
/POSIXct
/POSIXlt
variable types. - Fixed histograms to contain at least two bars.
tm_outliers
- Added
filter_spec
support. - Simplified returned R code.
- Support
select_spec
for 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
y
value when the actualx
values are plugged in.
Miscellaneous
- Updated
LICENCE
andREADME
with new package references. - Added
error_on_lint: TRUE
to.lintr
. - Updated quantile
type = 2
argument intm_variable_browser
to be in line with STREAM.
v0.2.10
- Refactored the internal code of all the modules to optimize their performance.
- Refactored
tm_g_scatterplot
to compute trend line statistics usingggpmisc::stat_poly_eq
to simplify code and to have labels for each group on the plot. - Refactored
tm_g_scatterplot
to enable filtering via the Encoding Panel using the newfilter_spec
functionality. - Added support for logical variables in
tm_variable_browser
. - Updated
tm_outliers
to handle non-CDISC datasets. - Updated UI of
tm_variable_browser
for factor and character variables with more than 30 levels. - Updated sparklines to 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_scatterplot
handling users choosing more than one facet variable. - Improved performance of
tm_variable_browser
by a more efficientsparkline
generation. - 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_data
andtm_variable_browser
.
v0.2.9
- Added download, enlarge and resize graph options to
tm_variable_browser
module. - Added download and expand options to the table in
tm_t_crosstable
. - Enabled selection of custom datasets for
tm_variable_browser
withdatasets_selected
argument. - Allowed all dataset variables to be used as grouping variables in
by variable levels
tab 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
. - Added persistence for the number of entries displayed in data tables.
- Removed 'treat variable as factor' checkbox in
tm_variable_browser
if no graph shown. - Fixed DT length reset in
tm_variable_browser
on "Show parent dataset variables" checkbox tick.
v0.2.8
- Added new module
tm_outliers
to analyse outliers in datasets. - Added
max_deg
optional 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. - Fixed edge case errors in
tm_missing_data
caused by inputdataset
not having categorical variables or being adata.frame
instead oftibble
. - Fixed
tm_a_pca
biplot plot when coloring with a factor/character/numeric with < 6 values variable. - Fixed typo in outlier definition in
tm_variable_browser
. - Sparklines no 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_data
are conditional to the data being a CDISC data. - Added
pre_output
andpost_output
arguments totm_data_table
,tm_missing_data
,tm_variable_browser
. - Fixed issue in
tm_data_table
when selecting "show distinct rows" if variable names had non-alphanumeric characters.
v0.2.7
- Introduced
sparklines
for quick, inline variable summaries. - Added option to remove outliers.
- Histograms and statistics tables are now displayed for variables of type
Date
,POSIXct
andPOSIXlt
. - Character variable summary statistics tables are now displayed in decreasing order of occurrences instead of alphabetical.
- Display number of non-missing rows
n
in statistics table for numeric variables. - Added ability to treat numeric variables as categorical.
tm_variable_browser
shows from 30 up to 50 levels divided in 2 columns for character/factor variables with more than 30 unique levels.- Added support for outlier labels to
tm_a_regression
and provided an additional optional argument,default_outlier_label
which can be used to specify the default column used to label outliers. - Implemented trend line.
- Added marginal density plots.
- Added option to display rug plot to both axes.
- Added
shape
andpoint color
arguments. The latter userscolourpicker::colourInput
. - Added
size_by
variable to scatterplot and allowed for point size to be mapped to a numeric variable. - Added bar chart to missing data combination plot.
- Removed keys from missing data combinations plot in when they have not been selected.
- 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).
- Updated to include
Plot settings
andPlot specific settings
. - Integrated
is_single_dataset
argument fordata_extract_input
function calls to simplify encodings panel UI. - Moved
code
argument tocdisc_dataset
(fromcdisc_data
) in examples and vignettes. - Require
ggmosaic
version >= 0.3.0.