Skip to content

Commit

Permalink
allow no server_args
Browse files Browse the repository at this point in the history
  • Loading branch information
gogonzo committed Nov 3, 2023
1 parent e43c76a commit f0c1cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/data-transform_module.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
delayed_data <- function(ui, server, ...) {
checkmate::assert_function(ui, args = "id")
server_args <- list(...)
if (is.null(names(server_args))) {
if (length(server_args) && is.null(names(server_args))) {
stop("All arguments passed to delayed_data() should be named")
}

Expand Down

0 comments on commit f0c1cc6

Please sign in to comment.