Skip to content

Commit b25eaee

Browse files
committed
Merge branch 'main' into test@bslib@main
2 parents 0b0f650 + df7d1a7 commit b25eaee

29 files changed

+681
-102
lines changed

.github/workflows/scheduled.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,14 @@ jobs:
6666
)
6767
name: R-hub 🌐
6868
uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main
69+
with:
70+
config: >-
71+
r-patched-linux-x86_64,
72+
r-release-linux-x86_64,
73+
r-devel-windows-x86_64,
74+
r-release-macos-arm64,
75+
r-release-macos-x86_64,
76+
r-release-windows-x86_64,
77+
r-oldrel-macos-arm64,
78+
r-oldrel-macos-x86_64,
79+
r-oldrel-windows-x86_64

DESCRIPTION

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: teal.modules.general
33
Title: General Modules for 'teal' Applications
4-
Version: 0.3.0.9090
5-
Date: 2025-02-24
4+
Version: 0.4.0.9000
5+
Date: 2025-02-28
66
Authors@R: c(
77
person("Dawid", "Kaledkowski", , "[email protected]", role = c("aut", "cre")),
88
person("Pawel", "Rucki", , "[email protected]", role = "aut"),
@@ -48,8 +48,8 @@ Imports:
4848
jsonlite (>= 1.8.9),
4949
lattice (>= 0.18-4),
5050
lifecycle (>= 0.2.0),
51-
MASS (>= 7.3-61),
52-
rtables (>= 0.6.8),
51+
MASS (>= 7.3-60),
52+
rtables (>= 0.6.11),
5353
scales (>= 1.3.0),
5454
shinyjs (>= 2.1.0),
5555
shinyTree (>= 0.2.8),
@@ -58,12 +58,12 @@ Imports:
5858
sparkline (>= 2.0),
5959
stats,
6060
stringr (>= 1.4.1),
61-
teal.code (>= 0.6.0),
61+
teal.code (>= 0.6.1),
6262
teal.data (>= 0.7.0),
63-
teal.logger (>= 0.3.1),
63+
teal.logger (>= 0.3.2),
6464
teal.reporter (>= 0.4.0),
6565
teal.widgets (>= 0.4.3),
66-
tern (>= 0.9.5),
66+
tern (>= 0.9.7),
6767
tibble (>= 2.0.0),
6868
tidyr (>= 0.8.3),
6969
tools,

NEWS.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1-
# teal.modules.general 0.3.0.9090
1+
# teal.modules.general 0.4.0.9000
22

3-
* Removed `Show Warnings` modals from modules.
4-
* Soft deprecated `datasets_selected` argument of modules in favor of `datanames`.
5-
* Soft deprecated `show_metadata` argument of `tm_front_page()` in favor of `datanames`.
6-
* Modules' Show R Code widgets include library calls and their code is styled with `styler` package (#847, #786).
3+
# teal.modules.general 0.4.0
74

85
### Enhancements
6+
* Introduced `transformators` and `decorators` argument to modules (#863).
7+
* Modules' Show R Code widgets include library calls to boost reproducibility (#786).
8+
* Removed `Show Warnings` modals from modules.
99

10+
### Miscellaneous
11+
* Soft deprecated `datasets_selected` argument of modules in favor of `datanames`.
12+
* Soft deprecated `show_metadata` argument of `tm_front_page()` in favor of `datanames`.
1013
* Added `teal.logger` functionality for logging changes in shiny inputs in all modules.
14+
* All example data is now sourced from `teal.data`.
15+
* Update `tm_g_distribution` to not start with validation error (#823).
1116

1217
### Bug fixes
13-
* Fixed a bug in `tm_missing_data` in "Group by Subject" that was not using reactive data call.
18+
* Fixed a bug in `tm_missing_data` in "Group by Subject" that was not using reactive data call (#772).
19+
* Fixed out-of-bound labels for `tm_g_regression` (#66).
20+
* Fixed a bug in `tm_g_association` where the app would crash when a selected categorical variable was a factor instead of a character (#645).
1421

1522
# teal.modules.general 0.3.0
1623

R/tm_a_pca.R

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#' @section Decorating Module:
2121
#'
2222
#' This module generates the following objects, which can be modified in place using decorators:
23-
#' - `elbow_plot` (`ggplot2`)
24-
#' - `circle_plot` (`ggplot2`)
25-
#' - `biplot` (`ggplot2`)
26-
#' - `eigenvector_plot` (`ggplot2`)
23+
#' - `elbow_plot` (`ggplot`)
24+
#' - `circle_plot` (`ggplot`)
25+
#' - `biplot` (`ggplot`)
26+
#' - `eigenvector_plot` (`ggplot`)
2727
#'
2828
#' A Decorator is applied to the specific output using a named list of `teal_transform_module` objects.
2929
#' The name of this list corresponds to the name of the output to which the decorator is applied.
@@ -42,6 +42,9 @@
4242
#' ```
4343
#'
4444
#' For additional details and examples of decorators, refer to the vignette
45+
#' `vignette("decorate-module-output", package = "teal.modules.general")`.
46+
#'
47+
#' To learn more please refer to the vignette
4548
#' `vignette("transform-module-output", package = "teal")` or the [`teal::teal_transform_module()`] documentation.
4649
#'
4750
#' @examplesShinylive

R/tm_a_regression.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#' @section Decorating Module:
4747
#'
4848
#' This module generates the following objects, which can be modified in place using decorators:
49-
#' - `plot` (`ggplot2`)
49+
#' - `plot` (`ggplot`)
5050
#'
5151
#' A Decorator is applied to the specific output using a named list of `teal_transform_module` objects.
5252
#' The name of this list corresponds to the name of the output to which the decorator is applied.
@@ -62,6 +62,9 @@
6262
#' ```
6363
#'
6464
#' For additional details and examples of decorators, refer to the vignette
65+
#' `vignette("decorate-module-output", package = "teal.modules.general")`.
66+
#'
67+
#' To learn more please refer to the vignette
6568
#' `vignette("transform-module-output", package = "teal")` or the [`teal::teal_transform_module()`] documentation.
6669
#'
6770
#' @examplesShinylive

R/tm_g_association.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
#' ```
4444
#'
4545
#' For additional details and examples of decorators, refer to the vignette
46+
#' `vignette("decorate-module-output", package = "teal.modules.general")`.
47+
#'
48+
#' To learn more please refer to the vignette
4649
#' `vignette("transform-module-output", package = "teal")` or the [`teal::teal_transform_module()`] documentation.
4750
#'
4851
#' @examplesShinylive

R/tm_g_bivariate.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#' @section Decorating Module:
5050
#'
5151
#' This module generates the following objects, which can be modified in place using decorators:
52-
#' - `plot` (`ggplot2`)
52+
#' - `plot` (`ggplot`)
5353
#'
5454
#' A Decorator is applied to the specific output using a named list of `teal_transform_module` objects.
5555
#' The name of this list corresponds to the name of the output to which the decorator is applied.
@@ -65,6 +65,9 @@
6565
#' ```
6666
#'
6767
#' For additional details and examples of decorators, refer to the vignette
68+
#' `vignette("decorate-module-output", package = "teal.modules.general")`.
69+
#'
70+
#' To learn more please refer to the vignette
6871
#' `vignette("transform-module-output", package = "teal")` or the [`teal::teal_transform_module()`] documentation.
6972
#'
7073
#'

R/tm_g_distribution.R

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
#' @section Decorating Module:
3030
#'
3131
#' This module generates the following objects, which can be modified in place using decorators::
32-
#' - `histogram_plot` (`ggplot2`)
33-
#' - `qq_plot` (`ggplot2`)
32+
#' - `histogram_plot` (`ggplot`)
33+
#' - `qq_plot` (`ggplot`)
3434
#' - `summary_table` (`datatables` created with [DT::datatable()])
3535
#' - `test_table` (`datatables` created with [DT::datatable()])
3636
#'
@@ -51,6 +51,9 @@
5151
#' ```
5252
#'
5353
#' For additional details and examples of decorators, refer to the vignette
54+
#' `vignette("decorate-module-output", package = "teal.modules.general")`.
55+
#'
56+
#' To learn more please refer to the vignette
5457
#' `vignette("transform-module-output", package = "teal")` or the [`teal::teal_transform_module()`] documentation.
5558
#'
5659
#' @examplesShinylive

R/tm_g_response.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#' @section Decorating Module:
4343
#'
4444
#' This module generates the following objects, which can be modified in place using decorators:
45-
#' - `plot` (`ggplot2`)
45+
#' - `plot` (`ggplot`)
4646
#'
4747
#' A Decorator is applied to the specific output using a named list of `teal_transform_module` objects.
4848
#' The name of this list corresponds to the name of the output to which the decorator is applied.
@@ -58,6 +58,9 @@
5858
#' ```
5959
#'
6060
#' For additional details and examples of decorators, refer to the vignette
61+
#' `vignette("decorate-module-output", package = "teal.modules.general")`.
62+
#'
63+
#' To learn more please refer to the vignette
6164
#' `vignette("transform-module-output", package = "teal")` or the [`teal::teal_transform_module()`] documentation.
6265
#'
6366
#' @examplesShinylive

R/tm_g_scatterplot.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#' @section Decorating Module:
3434
#'
3535
#' This module generates the following objects, which can be modified in place using decorators:
36-
#' - `plot` (`ggplot2`)
36+
#' - `plot` (`ggplot`)
3737
#'
3838
#' A Decorator is applied to the specific output using a named list of `teal_transform_module` objects.
3939
#' The name of this list corresponds to the name of the output to which the decorator is applied.
@@ -49,6 +49,9 @@
4949
#' ```
5050
#'
5151
#' For additional details and examples of decorators, refer to the vignette
52+
#' `vignette("decorate-module-output", package = "teal.modules.general")`.
53+
#'
54+
#' To learn more please refer to the vignette
5255
#' `vignette("transform-module-output", package = "teal")` or the [`teal::teal_transform_module()`] documentation.
5356
#'
5457
#'

0 commit comments

Comments
 (0)