deprecation_warning: Deprecation Warning Helper
Description
Issue a deprecation warning with migration guidance.
Usage
deprecation_warning(old_fn, new_fn, version = "2.0.0")
Arguments
- old_fn
Name of the deprecated function/pattern.
- new_fn
Name of the replacement.
- version
Version when it will be removed.