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

Improve input validation #413

Open
Aariq opened this issue Aug 15, 2023 · 1 comment
Open

Improve input validation #413

Aariq opened this issue Aug 15, 2023 · 1 comment

Comments

@Aariq
Copy link
Collaborator

Aariq commented Aug 15, 2023

Use stopifnot() or the assertthat package to check that inputs are the expected classes. Follow up to #406

@Aariq
Copy link
Collaborator Author

Aariq commented Aug 15, 2023

Something as simple as stopifnot(is.character(query)) throughout the package might be a good improvement

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