Implement get_facet_fml() via tinyformula()/tinyframe()
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- r
調査の方向性
R/facet.R の get_facet_fml() を、R/tinyformula.R の tinyformula()/tinyframe() および R/sanitize_facet.R からのその使用方法と比較してください。データあり・データなしで、tinyplot.default() を通じて facet formula のケースを再現し、動作する例を確立してください。例が動作し、get_facet_fml() が既存の formula 処理ヘルパーと調和していれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The tinyplot.formula() method uses auxiliary functions tinyformula()/tinyframe() (see https://github.com/grantmcdermott/tinyplot/blob/main/R/tinyformula.R) for processing its formulas, including facets.
In sanitize_facet() (see https://github.com/grantmcdermott/tinyplot/blob/main/R/sanitize_facet.R) an auxiliary function get_facet_fml() (see https://github.com/grantmcdermott/tinyplot/blob/main/R/facet.R#L680-L726) is used for cases when facet is still a formula. However, get_facet_fml() is not implemented using tinyformula()/tinyframe(). It might be a good idea to harmonize/streamline this implementation. This first came up in #562
As a first step, I tried to come up with an example when get_facet_fml() is actually used successfully. Could you provide an example, Grant @grantmcdermott ?
My reading is that this can only happen if tinyplot.default() is used because tinyplot.formula() already parses facet formulas and does not pass these on. But in tinyplot.default() I always get an error if I do tinyplot(x, y, facet = a ~ b) or tinyplot(x, y, facet = a ~ b, data = d).
- 主要言語
- R
- スター
- 430
- フォーク
- 24
- 平均マージ
- 14時間 17分
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
grantmcdermott/tinyplot のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
grantmcdermott/tinyplot#759 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
grantmcdermott/tinyplot#664 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
grantmcdermott/tinyplot#663 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Spineplot wishlistオープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
grantmcdermott/tinyplot#660 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
grantmcdermott/tinyplot#659 ·
メンテナーはふだん 1 日以内に返信
grantmcdermott/tinyplot の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bcgov/aqwarnings_shiny#128 ·
-
tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
sagemathinc/sagebrush#3570 ·
メンテナーはふだん 1 日以内に返信
-
bug upkeep
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
ropensci/lingtypology#94 ·