warn_deprecated {mlr3} | R Documentation |
Give a Warning about a Deprecated Function, Argument, or Active Binding
Description
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.
Usage
warn_deprecated(what)
Arguments
what |
(character(1)) |
[Package mlr3 version 1.0.1 Index]