Implement get_facet_fml() via tinyformula()/tinyframe()
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Refactoring
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- r
- Bereich
- data-visualization
Rechercherichtung
Vergleiche get_facet_fml() in R/facet.R mit tinyformula()/tinyframe() in R/tinyformula.R und deren Verwendung in R/sanitize_facet.R. Reproduziere die Fälle für Facet-Formeln über tinyplot.default(), mit und ohne Daten, um ein funktionierendes Beispiel zu erstellen. Als abgeschlossen gilt die Aufgabe, wenn das Beispiel funktioniert und get_facet_fml() mit den vorhandenen Hilfsfunktionen zur Formelverarbeitung harmonisiert ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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).
- Vorherrschende Sprache
- R
- Sterne
- 430
- Forks
- 24
- Ø Merge
- 14 Std. 17 Min.
- Gemergte PRs (30 T.)
- 8
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus grantmcdermott/tinyplot
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
grantmcdermott/tinyplot#759 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 67/100
grantmcdermott/tinyplot#664 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
grantmcdermott/tinyplot#663 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Spineplot wishlistOffen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
grantmcdermott/tinyplot#660 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 62/100
grantmcdermott/tinyplot#659 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in grantmcdermott/tinyplot
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
bcgov/aqwarnings_shiny#128 ·
-
tech-debt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
sagemathinc/sagebrush#3570 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug upkeep
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
phoible.feature() failsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
ropensci/lingtypology#94 ·