Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Feature Request]: print `qenv.error` automatically

オープン
#204 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
r
領域
tooling

調査の方向性

まず、qenv.error オブジェクトがどのように作成され、1つが返されたときに join_keys<- のような呼び出しがどのようにディスパッチされるかを追跡します。自動出力をどこに集約できるか、また操作ごとに1つのメソッドを追加せずに拡張可能な状態を保つにはどうすればよいかを判断します。報告されたエラーケースと関連するメソッド呼び出しについて動作が定義されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

core enhancement
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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

insightsengineering/teal.code のほかの issue

insightsengineering/teal.code の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。