Open jaseeverett opened 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.
pr_get_Indices
To do this we need to add assertthat::assert_that code for all inputs
assertthat::assert_that
Also need this for functions such as pr_get_CPRData if the wrong variable is passed it returns an xml dump
pr_get_CPRData
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.