Simple internal function to warn about deprecated parameters
handle_deprecated_param(
old_param,
new_param = NULL,
custom_msg = NULL,
call_env = parent.frame()
)
Nothing, called for side effects (warnings)
Name of the deprecated parameter
Name of the replacement parameter or NULL if parameter is being removed
Optional custom message to append to the warning
Environment where to check for the deprecated parameter