Skip to content

Commit 6dec0ec

Browse files
committed
assertions in regression
1 parent 1208b4e commit 6dec0ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/tm_a_regression.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ tm_a_regression <- function(label = "Regression Analysis",
212212
checkmate::assert_multi_class(post_output, c("shiny.tag", "shiny.tag.list", "html"), null.ok = TRUE)
213213
checkmate::assert_choice(default_plot_type, seq.int(1L, length(plot_choices)))
214214
checkmate::assert_string(default_outlier_label)
215-
checkmate::assert_list(decorators, "teal_transform_module", null.ok = TRUE)
215+
checkmate::assert_list(decorators, "teal_transform_module")
216216

217217
if (length(label_segment_threshold) == 1) {
218218
checkmate::assert_numeric(label_segment_threshold, any.missing = FALSE, finite = TRUE)
@@ -226,7 +226,7 @@ tm_a_regression <- function(label = "Regression Analysis",
226226
)
227227
}
228228
decorators <- normalize_decorators(decorators)
229-
assert_decorators(decorators, "plot", null.ok = TRUE)
229+
assert_decorators(decorators, "plot")
230230
# End of assertions
231231

232232
# Make UI args

0 commit comments

Comments
 (0)