metric.scores - input parameter col_IndexRegion should be col_IndexClass

Offen
#103 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
r
Bereich
backend

Rechercherichtung

Find the metric.scores function and inspect its parameter list and callers, including the Shiny apps mentioned in the issue. Add col_IndexClass in the current col_IndexRegion slot and move col_IndexRegion to the end to preserve compatibility; done means existing callers still work and the new parameter uses Index_Class.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Describe the bug
Function metric.scores input parameter col_IndexRegion should be col_IndexClass

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Additional context
When changed both BioMonTools and BCGcalc packages to use "Index_Class" and not "Index_Region" or other name (e.g., Site_Class) missed this one.

Will need to add a new input parameter to avoid breaking existing code that relies on the function (e.g., Shiny apps).

Place new variable, col_IndexClass, in the same slot and move col_IndexRegion to the end.

Vorherrschende Sprache
R
Sterne
15
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus leppott/BioMonTools

Alle Issues in leppott/BioMonTools

Ähnliche Issues

Weitere Issues zu R

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.