View source: R/util_deprecate_soft.R
util_deprecate_soft | R Documentation |
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)
)
when |
A string giving the version when the behavior was deprecated. |
what |
A string describing what is deprecated |
with |
An optional string giving a recommended replacement for the deprecated behavior. This takes the same form as what. |
details |
only used, if |
id |
only used, if |
env |
only used, if |
user_env |
only used, if |
NULL, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.