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
A descriptive error message is crucial for users when creating a teal app or module. Currently, stopifnot() is used for assertion in many of teal packages, without overriding the default message. As a result, users will encounter difficulty deciphering the message and may block development progress.
Definition of Done
Replace stopifnot() with checkmate.
User should receive a consistent and more user-friendly or actionable error message when developing teal app.
Decide on better technique to replace stopifnot (checkmate?) I was informed that prior research has been done and checkmate is the appropriate solution.
Summary
A descriptive error message is crucial for users when creating a
teal
app or module. Currently,stopifnot()
is used for assertion in many of teal packages, without overriding the default message. As a result, users will encounter difficulty deciphering the message and may block development progress.Definition of Done
stopifnot()
withcheckmate
.teal
app.Triggered by:
insightsengineering/teal.transform/issues/99
The text was updated successfully, but these errors were encountered: