diff --git a/R/modules.R b/R/modules.R index a021187e61..25b3b4e5ff 100644 --- a/R/modules.R +++ b/R/modules.R @@ -197,7 +197,7 @@ module <- function(label = "module", ) } if ("datasets" %in% server_formals) { - warning( + stop( sprintf("Called from module(label = \"%s\", ...)\n ", label), "`datasets` argument in the server is deprecated and will be removed in the next release. ", "Please use `data` instead.",