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
The rlang package makes it possible to add classes to the error conditions (e.g. rlang::abort). This is a convenient feature for later working with the error messages. There are for example good for programmatically responding to errors within packages. The current option is to parse the error messages but as these can be quite dynamic to make them informative to users it would be better to have error classes. An implementation would be quite simple as the class argument should be added to the assert_that function and the assertError function. If desirable I can make a pull request
The text was updated successfully, but these errors were encountered:
The
rlang
package makes it possible to add classes to the error conditions (e.g.rlang::abort
). This is a convenient feature for later working with the error messages. There are for example good for programmatically responding to errors within packages. The current option is to parse the error messages but as these can be quite dynamic to make them informative to users it would be better to have error classes. An implementation would be quite simple as the class argument should be added to theassert_that
function and theassertError
function. If desirable I can make a pull requestThe text was updated successfully, but these errors were encountered: