moodymudskipper / safejoin

Wrappers around dplyr functions to join safely using various checks
GNU General Public License v3.0
42 stars 7 forks source link

wrap safe_check into try and in case of error, checked parameters passed to ... #12

Closed moodymudskipper closed 5 years ago

moodymudskipper commented 5 years ago

it will be (already is) a common mistake to use by instead of .by etc, but to be "safe" with eat as we're supposed to AND stay consistent with dplyrs on other functions we don't have the choice.

By checking the parameters passed to ... only if it fails we can ask the user if he really meant to input what he did.

moodymudskipper commented 5 years ago

https://stackoverflow.com/questions/54867217/trigger-a-helpful-error-if-i-provide-a-wrongly-named-argument

moodymudskipper commented 5 years ago

with the new way to pass the dots the error is clear enough