Closed d-morrison closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Files | Coverage Δ | |
---|---|---|
R/check_pop_data.R | 100.00% <100.00%> (+53.84%) |
:arrow_up: |
Looks good! How do we communicate the error classes available in the package?
@chrisorwa good question; I'm still coming up to speed on error classes, but as far as I can tell, they are not part of the API - we create them ourselves for our own internal use in unit tests, instead of using the regexp
argument for testthat::expect_error()
. So there won't be an exhaustive list; they are more like the inputId
arguments in Shiny inputs.
Take a look here for more information.
improving error messages, added test