Skip to content

Commit 18c5f6f

Browse files
committed
chore: change default decorators to NULL
1 parent e87f8d9 commit 18c5f6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

R/tm_g_response.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ tm_g_response <- function(label = "Response Plot",
156156
ggplot2_args = teal.widgets::ggplot2_args(),
157157
pre_output = NULL,
158158
post_output = NULL,
159-
decorators = list()) {
159+
decorators = NULL) {
160160
message("Initializing tm_g_response")
161161

162162
# Normalize the parameters
@@ -201,7 +201,7 @@ tm_g_response <- function(label = "Response Plot",
201201
checkmate::assert_multi_class(pre_output, c("shiny.tag", "shiny.tag.list", "html"), null.ok = TRUE)
202202
checkmate::assert_multi_class(post_output, c("shiny.tag", "shiny.tag.list", "html"), null.ok = TRUE)
203203

204-
checkmate::assert_list(decorators, "teal_transform_module")
204+
checkmate::assert_list(decorators, "teal_transform_module", null.ok = TRUE)
205205
# End of assertions
206206

207207
# Make UI args

man/tm_g_response.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)