View source: R/warn_deprecated.R
warn_deprecated | R Documentation |
Generates a warning when a deprecated function, argument, or active binding
is used or accessed. A warning will only be given once per session, and all
deprecation warnings can be suppressed by setting the option
mlr3.warn_deprecated = FALSE
.
The warning is of the format "what is deprecated and will be removed in the future."
Use the 'deprecated_binding()' helper function to create an active binding that generates a warning when accessed.
warn_deprecated(what)
what |
(character(1)) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.