insightsengineering / insightsengineering/NEST-roadmap

Improve error message when developing `teal` app

Open
#76 1 comment 0 reactions 0 assignees View on GitHub
core
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### 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
* Replace `stopifnot()` with `checkmate`.
* User should receive a consistent and more user-friendly or actionable error message when developing `teal` app.

Triggered by:
insightsengineering/teal.transform/issues/99

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.