diff --git a/R/teal_data-get_code.R b/R/teal_data-get_code.R index ebeda7f6a..71b9701e5 100644 --- a/R/teal_data-get_code.R +++ b/R/teal_data-get_code.R @@ -108,7 +108,7 @@ setMethod("get_code", signature = "teal_data", definition = function(object, dep checkmate::assert_flag(deparse) code <- if (!is.null(datanames)) { - warning("get_code(datanames) was deprecated in teal.data 0.6.1, use get_code(names) instead.") + warning("get_code(datanames) was deprecated in teal.data 0.6.1, use get_code(names) instead.", call. = FALSE) get_code_dependency(object@code, datanames, ...) } else { object@code