.name_deprecation | R Documentation |
Provides lifecycle management consistently across several functions.
Currently uses lifecycle::deprecate_soft()
- i.e. warns only when used
directly. In future versions, this will switch to warning unconditionally
with lifecycle::deprecate_warn()
, then throwing via
lifecycle::deprecate_warn()
, and finally be deleted along with the subject
arguments.
.name_deprecation(
pdist_name,
dprimary_name,
env = rlang::caller_env(),
user_env = rlang::caller_env(2)
)
pdist_name |
the deprecated variable to check |
dprimary_name |
the deprecated variable to check |
env , user_env |
Pair of environments that define where These are only needed if you're calling |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.