PlanktonTeam / planktonr

r Package for the analysis and visualisation of plankton data
https://planktonteam.github.io/planktonr/
Other
4 stars 1 forks source link

Better error messages #209

Open jaseeverett opened 1 year ago

jaseeverett commented 1 year ago

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 commented 2 months ago

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

jaseeverett commented 1 month ago

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