From f8547a682f16d8b3579d976ad5a584d2d2042ed3 Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Wed, 7 Feb 2024 13:48:34 +0100 Subject: [PATCH] lint --- R/modules.R | 7 ++++--- man/teal_modules.Rd | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/R/modules.R b/R/modules.R index b83f15ce78..0ab0c06c36 100644 --- a/R/modules.R +++ b/R/modules.R @@ -23,11 +23,12 @@ #' @param server (`function`) `shiny` module with following arguments: #' - `id` - `teal` will set proper `shiny` namespace for this module (see [shiny::moduleServer()]). #' - `input`, `output`, `session` - (not recommended) then [shiny::callModule()] will be used to call a module. -#' - `data` (optional) If present, module will receive a `teal_data` object, a list of reactive (filtered) data specified in -#' the `filters` argument. +#' - `data` (optional) If present, module will receive a `teal_data` object, a list of reactive (filtered) +#' data specified in the `filters` argument. #' - `datasets` (optional) If present, module will receive `FilteredData`. (See [`teal.slice::FilteredData`]). #' - `reporter` (optional) If present, module will receive `Reporter`. (See [`teal.reporter::Reporter`]). -#' - `filter_panel_api` (optional) If present, module will receive `FilterPanelAPI`. (See [`teal.slice::FilterPanelAPI`]). +#' - `filter_panel_api` (optional) If present, module will receive `FilterPanelAPI`. +#' (See [`teal.slice::FilterPanelAPI`]). #' - `...` (optional) If present, `server_args` elements will be passed to the module named argument or to the `...`. #' @param ui (`function`) `shiny` UI module function with following arguments: #' - `id` - `teal` will set proper `shiny` namespace for this module. diff --git a/man/teal_modules.Rd b/man/teal_modules.Rd index aad89c22e3..21b1fa8624 100644 --- a/man/teal_modules.Rd +++ b/man/teal_modules.Rd @@ -46,11 +46,12 @@ For \code{modules()} defaults to \code{"root"}. See \code{Details}.} \itemize{ \item \code{id} - \code{teal} will set proper \code{shiny} namespace for this module (see \code{\link[shiny:moduleServer]{shiny::moduleServer()}}). \item \code{input}, \code{output}, \code{session} - (not recommended) then \code{\link[shiny:callModule]{shiny::callModule()}} will be used to call a module. -\item \code{data} (optional) If present, module will receive a \code{teal_data} object, a list of reactive (filtered) data specified in -the \code{filters} argument. +\item \code{data} (optional) If present, module will receive a \code{teal_data} object, a list of reactive (filtered) +data specified in the \code{filters} argument. \item \code{datasets} (optional) If present, module will receive \code{FilteredData}. (See \code{\link[teal.slice:FilteredData]{teal.slice::FilteredData}}). \item \code{reporter} (optional) If present, module will receive \code{Reporter}. (See \code{\link[teal.reporter:Reporter]{teal.reporter::Reporter}}). -\item \code{filter_panel_api} (optional) If present, module will receive \code{FilterPanelAPI}. (See \code{\link[teal.slice:FilterPanelAPI]{teal.slice::FilterPanelAPI}}). +\item \code{filter_panel_api} (optional) If present, module will receive \code{FilterPanelAPI}. +(See \code{\link[teal.slice:FilterPanelAPI]{teal.slice::FilterPanelAPI}}). \item \code{...} (optional) If present, \code{server_args} elements will be passed to the module named argument or to the \code{...}. }}