Skip to content
New issue

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

matchArg types and their conversion seem unintuitive #1

Open
d-callan opened this issue Nov 2, 2021 · 0 comments
Open

matchArg types and their conversion seem unintuitive #1

d-callan opened this issue Nov 2, 2021 · 0 comments

Comments

@d-callan
Copy link
Contributor

d-callan commented Nov 2, 2021

we built this to serve a need in veupathdb/plot.data originally. but in a more generalized context like this one, it may make sense to expand the handled types beyond character and logical? seems slightly arbitrary. also, the support of multiple types means its possible to pass choices like c(1, 'a', as.Date('2021-12-25'), FALSE) which we should decide what wed like to do about.. base R will just convert those all to character but is that clear to a user of matchArg?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant