Skip to content

Commit c37c2ad

Browse files
committed
remove decorators from examples
1 parent 764c55f commit c37c2ad

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

R/tm_a_pca.R

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,21 @@
1818
#'
1919
#' @inherit shared_params return
2020
#'
21-
#' @inheritSection tm_a_regression Decorating Module Outputs
2221
#' @section Decorating `tm_a_pca`:
2322
#'
2423
#' This module creates below objects that can be modified with decorators:
2524
#' - `plot` (`ggplot2`)
2625
#'
26+
#' For additional details and examples of decorators, refer to the vignette
27+
#' `vignette("decorate-modules-output", package = "teal")` or the [`teal_transform_module()`] documentation.
28+
#'
2729
#'
2830
#' @examplesShinylive
2931
#' library(teal.modules.general)
3032
#' interactive <- function() TRUE
3133
#' {{ next_example }}
3234
#' @examples
3335
#'
34-
#' plot_title <- teal_transform_module(
35-
#' server = make_teal_transform_server(expression(
36-
#' plot <- plot + ggtilte("Custom title")
37-
#' ))
38-
#' )
39-
#'
4036
#' # general data example
4137
#' data <- teal_data()
4238
#' data <- within(data, {
@@ -59,8 +55,7 @@
5955
#' multiple = TRUE
6056
#' ),
6157
#' filter = NULL
62-
#' ),
63-
#' decorators = list(plot_title)
58+
#' )
6459
#' )
6560
#' )
6661
#' )
@@ -74,12 +69,6 @@
7469
#' {{ next_example }}
7570
#' @examples
7671
#'
77-
#' plot_title <- teal_transform_module(
78-
#' server = make_teal_transform_server(expression(
79-
#' plot <- plot + ggtilte("Custom title")
80-
#' ))
81-
#' )
82-
#'
8372
#' # CDISC data example
8473
#' data <- teal_data()
8574
#' data <- within(data, {
@@ -103,8 +92,7 @@
10392
#' multiple = TRUE
10493
#' ),
10594
#' filter = NULL
106-
#' ),
107-
#' decorators = list(plot_title)
95+
#' )
10896
#' )
10997
#' )
11098
#' )

0 commit comments

Comments
 (0)