From aded389b3b46ba2a0f9cab18aa39900c0ff6e3ac Mon Sep 17 00:00:00 2001 From: vedhav Date: Thu, 7 Nov 2024 12:48:15 +0530 Subject: [PATCH] chore: update docs --- R/modules.R | 4 +++- man/teal_modules.Rd | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/R/modules.R b/R/modules.R index 3ab22c971b..e1eccb6d12 100644 --- a/R/modules.R +++ b/R/modules.R @@ -428,7 +428,9 @@ format.teal_module <- function( #' @rdname teal_modules #' @examples -#' custom_module <- function(label = "label", ui_args = NULL, server_args = NULL, datanames = "all", transformers = list(), bk = FALSE) { # nolint line_length +#' custom_module <- function( +#' label = "label", ui_args = NULL, server_args = NULL, +#' datanames = "all", transformers = list(), bk = FALSE) { #' ans <- module( #' label, #' server = function(id, data, ...) {}, diff --git a/man/teal_modules.Rd b/man/teal_modules.Rd index 21971dc65a..928562d0b1 100644 --- a/man/teal_modules.Rd +++ b/man/teal_modules.Rd @@ -234,7 +234,9 @@ mod <- module( server_args = list(x = 5, y = list(p = 1)) ) cat(format(mod)) -custom_module <- function(label = "label", ui_args = NULL, server_args = NULL, datanames = "all", transformers = list(), bk = FALSE) { # nolint line_length +custom_module <- function( + label = "label", ui_args = NULL, server_args = NULL, + datanames = "all", transformers = list(), bk = FALSE) { ans <- module( label, server = function(id, data, ...) {},