Skip to content

Commit d028a57

Browse files
committed
chore: change default decorators to NULL
1 parent c0bcbdc commit d028a57

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

R/tm_g_distribution.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ tm_g_distribution <- function(label = "Distribution Module",
132132
plot_width = NULL,
133133
pre_output = NULL,
134134
post_output = NULL,
135-
decorators = list()) {
135+
decorators = NULL) {
136136
message("Initializing tm_g_distribution")
137137

138138
# Requires Suggested packages
@@ -184,7 +184,7 @@ tm_g_distribution <- function(label = "Distribution Module",
184184
checkmate::assert_multi_class(pre_output, c("shiny.tag", "shiny.tag.list", "html"), null.ok = TRUE)
185185
checkmate::assert_multi_class(post_output, c("shiny.tag", "shiny.tag.list", "html"), null.ok = TRUE)
186186

187-
checkmate::assert_list(decorators, "teal_transform_module")
187+
checkmate::assert_list(decorators, "teal_transform_module", null.ok = TRUE)
188188
# End of assertions
189189

190190
# Make UI args

man/tm_g_distribution.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)