We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://blog.r-hub.io/2022/03/10/input-checking/
The text was updated successfully, but these errors were encountered:
Extremely useful post!
I wanted to use match.arg() for my functions but I was disappointed to find out that the function uses partial matching unlike rlang::arg_match()
match.arg()
rlang::arg_match()
# match.arg will not trigger an error match.arg(arg = "p", choices = c("R", "python")) # rlang::arg_match0 will trigger an error rlang::arg_match0(arg = "p", choices = c("R", "python"))
Sorry, something went wrong.
No branches or pull requests
Checking the inputs of your R functions - R-hub blog
https://blog.r-hub.io/2022/03/10/input-checking/
The text was updated successfully, but these errors were encountered: