[Feature Request]: print `qenv.error` automatically
まだ誰も着手していません。
評価
調査の方向性
まず、qenv.error オブジェクトがどのように作成され、1つが返されたときに join_keys<- のような呼び出しがどのようにディスパッチされるかを追跡します。自動出力をどこに集約できるか、また操作ごとに1つのメソッドを追加せずに拡張可能な状態を保つにはどうすればよいかを判断します。報告されたエラーケースと関連するメソッド呼び出しについて動作が定義されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Feature description
I'm observing more and more use cases where people don't know how to behave when seeing this:
Error in UseMethod("join_keys<-", x) :
no applicable method for 'join_keys<-' applied to an object of class "c('qenv.error', 'try-error', 'simpleError', 'error', 'condition')"
(or any other method applied on qenv.error class of object)
Usually the only thing they need to do is to print a given object which should have enough information about the error itself. Now I'm thinking if we can do such print automatically and don't ask users to explicitly print it. We can do print right when the error occurs or print on (any) method calls or something else. Please just make sure to make it easily extendable with regard to methods - anti-pattern would be a new methods: join_keys.qenv.error, join_keys<-.qenv.error and so on... That's not very scalable.
Code of Conduct
- I agree to follow this project's Code of Conduct.
Contribution Guidelines
- I agree to follow this project's Contribution Guidelines.
Security Policy
- I agree to follow this project's Security Policy.
- 主要言語
- R
- スター
- 12
- フォーク
- 11
- 平均マージ
- 8日 15時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
insightsengineering/teal.code のほかの issue
-
Move to Pharmaverse対応中かも @llrs-roche が 37 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
insightsengineering/teal.code#292 ·
-
[Feature Request]: High cyclomatic complexity leds to bad readability対応中かも @llrs-roche が 38 日前に担当しました。 オープンenhancement
難易度 3/5 3〜5日 初心者へのやさしさ 45/100
insightsengineering/teal.code#295 ·
-
core discussion
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
insightsengineering/teal.code#291 · コメント 2 件 · リアクション 1 件 ·
-
bug core
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
insightsengineering/teal.code#275 ·
-
bug core
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
insightsengineering/teal.code#272 ·
insightsengineering/teal.code の issue をすべて見る
似ている issue
-
enhancement good first issue help wanted
難易度 2/5 半日 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
Breaking 🏴☠️ Consistency :green_apple: :apple:
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
easystats/bayestestR#789 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
stan-dev/priorsense#150 ·