how-to-determine-if-function-argument-has-ellipsis-on-r