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, ...) {},