You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warnings and errors in R don't seem to work as consistently as they do in other languages. I've personally used the options() method to raise warnings to errors so that I can inspect specific lines, only for R to keep running with warnings. I know there are finicky cases with different datatypes that can pass through a stopifnot() call, too.
I'd like to do a comparison of different built-in tools like stopifnot() and libraries like assertr to see how they compare in terms of flagging and raising errors within a script
The text was updated successfully, but these errors were encountered:
Hi @baileyb0t ! If this is still something you're interested in working on (2 years later) I'd be interested to help! I've used assertr, assertthat and custom functions to identify errors and give user-friendly error messages.
warnings and errors in R don't seem to work as consistently as they do in other languages. I've personally used the
options()
method to raise warnings to errors so that I can inspect specific lines, only for R to keep running with warnings. I know there are finicky cases with different datatypes that can pass through astopifnot()
call, too.I'd like to do a comparison of different built-in tools like
stopifnot()
and libraries likeassertr
to see how they compare in terms of flagging and raising errors within a scriptThe text was updated successfully, but these errors were encountered: