Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions R/dummy_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#' to read more about decorators.
#'
#' @inheritParams teal_modules
#' @param decorators `r lifecycle::badge("experimental")` (`list` of `teal_transform_module` or `NULL`) optional,
#' if not `NULL`, decorator for tables or plots included in the module.
#' @param decorators `r lifecycle::badge("experimental")` (`list` of `teal_transform_module`) optional,
#' decorator for `object` included in the module.
#'
#' @return A `teal` module which can be included in the `modules` argument to [init()].
#' @examples
Expand All @@ -25,9 +25,9 @@
example_module <- function(label = "example teal module",
datanames = "all",
transformators = list(),
decorators = NULL) {
decorators = list()) {
checkmate::assert_string(label)
checkmate::assert_list(decorators, "teal_transform_module", null.ok = TRUE)
checkmate::assert_list(decorators, "teal_transform_module")

ans <- module(
label,
Expand Down
6 changes: 3 additions & 3 deletions man/example_module.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading