if available, it calls lifecycle::deprecate_soft
. otherwise, it just
shows a warning.
util_deprecate_soft(
when,
what,
with = NULL,
details = NULL,
id = NULL,
env = rlang::caller_env(),
user_env = rlang::caller_env(2)
)
NULL, invisibly.
A string giving the version when the behavior was deprecated.
A string describing what is deprecated
An optional string giving a recommended replacement for the deprecated behavior. This takes the same form as what.
only used, if lifecycle::deprecate_soft
is available
only used, if lifecycle::deprecate_soft
is available
only used, if lifecycle::deprecate_soft
is available
only used, if lifecycle::deprecate_soft
is available