lifecycle 1.0.0
-
New vignettes:
vignette("stages")describes the lifecycle stagesvignette("manage")teaches you how to manage lifecycle changes in
functions you use.vignette("communicate")shows how to use lifecycle in functions that
you write.
-
In
deprecate_soft(),deprecate_warn(), anddeprecate_stop():-
You can deprecate an argument with
foo(arg)instead offoo(arg =)(#78).
This syntax is similar in spirit to the formal arguments of function
definitions. -
You can deprecate R6 methods by using
class$method()(#54). -
A character vector
detailsis now converted into a bulleted list (#55). -
Messages for non-prefix functions (like "
x<-()" and "%>%()")
look a little nicer (#95). -
Manually printed warnings now omit the advice footer (#68).
-
-
Experimental
signal_stage()can be used to signal that a function is
experimental or superseded. These signals are not currently hooked up to any
behaviour, but we'll add tools in a future release (#44). -
lifecycle_cnd_data()has been removed; as far as I can tell it wasn't
used by anyone.