Error handling for rmot_assign_data
Closed this issue · 3 comments
fontikar commented
rmot_assign_data(mtcars) this is bad
#TODO: Check names are in model_template
abort if not model template
fontikar commented
4 years out of date but still a good resource:
For tidyverse like error messages:
{galah-R} the package has some specific .R file containing the functions that checks the inputs of their functions
Tess-LaCoil commented
To do:
- Change error handling to use stop() properly
- Have checks on data types as well as size structures
- Standardise error feedback and get a second pair of eyes on what error messages say.
Tess-LaCoil commented
Finalised testing for assign_data function:
ef660c1