Give a Warning about a Deprecated Function, Argument, or Active Binding
Source:R/helper.R
warn_deprecated.RdGenerates 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.