Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Better error messages #209

Open
jaseeverett opened this issue Feb 3, 2023 · 2 comments
Open

Better error messages #209

jaseeverett opened this issue Feb 3, 2023 · 2 comments
Assignees
Labels
bug Something isn't working high priority Issue that should be dealt with first

Comments

@jaseeverett
Copy link
Contributor

We need to add error catching to many of the planktonr functions. For example, when multiple parameters are passed to functions that should only have 1 (e.g. pr_get_Indices), it errors with an abstract message.

@jaseeverett jaseeverett added bug Something isn't working high priority Issue that should be dealt with first labels Feb 3, 2023
@jaseeverett jaseeverett self-assigned this Feb 3, 2023
@jaseeverett
Copy link
Contributor Author

To do this we need to add assertthat::assert_that code for all inputs

@jaseeverett
Copy link
Contributor Author

Also need this for functions such as pr_get_CPRData if the wrong variable is passed it returns an xml dump

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working high priority Issue that should be dealt with first
Projects
None yet
Development

No branches or pull requests

1 participant