Standardize / clarify error / warning messages #397
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
help wanted
Extra attention is needed
As highlighted during the review of #376, our warning / error / messaging content could use work.
Propose:
Example issues with current approach:
Calling Scope / Insufficient Feedback
This message might be fine in practice, but it's a bit tough to tell without looking around at everywhere its used and trying it in situ. Perhaps this check needs to pass through the grouping columns as well? I'm generally in favor of explicitly showing the logic of how a requirement failed + particular values at failure.
Explicitly Refer to Arguments
In general, we should explicitly refer to the argument with problems (in this , case
module
- though if we can get at the call stack and use whatever variable name the user passed to that argument, that would be ideal). If there are sub-elements that we're checking, we should be indicating the subelement connection (in this case, refer tomodule[["data"]]
instead of "data").Base R Errors
Do we need a special handling case for something R is just going to complain about?
The text was updated successfully, but these errors were encountered: