Closed tristan-myles closed 2 months ago
A big PR which should have likely been separated into three different pieces of work. Sorry!
The use of cli makes the testthat output a bit messy - I'm sure there is a way to improve this, but I haven't addressed it in this PR .
Pull Request
Moves all epireview messages, warnings, and errors to cli package. Addresses #57 by added check_column_types function which will now cause load_epidata to fail if the input csv column types are incorrect (rather than outputting the opaque vroom package warning). Additionally, improves clarity of warnings for load_epireview.
Addresses #21 by outputting the columns and the number of rows per column that will epireview will attempt to convert from hours/weeks to days.
Checklist:
DESCRIPTION
DESCRIPTION
NEWS.md
testthat
devtools::install_local("<path-to-epireview>")
priority-pathogens