Skip to content

Commit

Permalink
do not add a call to the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr committed Oct 16, 2024
1 parent 59a103d commit 8d61ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/teal_data-get_code.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d61ecc

Please sign in to comment.