Performs similar traceback as match.arg for default argument values. Unlike
match.arg, this function does not stop execution. It simply emits a detailed
warning including the invalid argument value, the calling funcation, and
the expected argument values.