Skip to content

Commit 0b3b10b

Browse files
committed
fix: corrects assertion
1 parent 6561d03 commit 0b3b10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ assert_single_selection <- function(x,
297297
srv_decorate_teal_data <- function(id, data, decorators, expr, expr_is_reactive = FALSE) {
298298
assert_reactive(data)
299299
checkmate::assert_list(decorators, "teal_transform_module")
300-
checkmate::assert_factor(expr_is_reactive)
300+
checkmate::assert_flag(expr_is_reactive)
301301

302302
missing_expr <- missing(expr)
303303
if (!missing_expr && !expr_is_reactive) {

0 commit comments

Comments
 (0)