.Deprecate | R Documentation |
Provides automatic deprecation and defunctation of functions and arguments;
.Deprecate(
when,
what,
with = NULL,
...,
pkg = NULL,
env = missing_arg(),
user_env = missing_arg()
)
when |
A string giving the version when the behaviour was deprecated. |
what |
A string describing what is deprecated:
You can optionally supply the namespace: |
with |
An optional string giving a recommended replacement for the
deprecated behaviour. This takes the same form as |
... |
Arguments passed on to
|
pkg |
Name of package to use for comparison |
env , user_env |
Managed internally by |
Run for its side effect and invisibly returns NULL
lifecycle::deprecate_soft()
lifecycle::deprecate_warn()
lifecycle::deprecate_stop()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.