Create deprecated function wrapper.
Usage
create_deprecated_function(old_name, new_name, package_name, when = "2.0.0")
Arguments
- old_name
Character string of deprecated function name
- new_name
Character string of replacement function name
- package_name
Character string of package name
- when
Character string indicating version when deprecation started
Value
Function that calls new function with deprecation warning
Details
Internal function, create deprecated function wrapper.
Examples
if (FALSE) { # \dontrun{
# No examples provided
} # }