Harmonize plot-method arguments and `ceac()` argument order (soft deprecation)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- r
- Área
- data-visualization
Línea de trabajo
Start with the ceac() and calc_evpi() argument handling, then the plot.icers, plot.evpi, plot.evppi, plot.owsa, plot.exp_loss and plot.twsa methods, and owsa_opt_strat, to see where col, size/lsize, effect_units and xlim/ylim differ. Done means both ceac() argument orders work with one soft deprecation warning, new tests cover both forms, and the CONTRIBUTING ADR is merged. The open naming decisions need maintainer agreement before any rename.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Suggested owner: Matthew Kaufmann · Plan: Phase 3 (timeboxed)
Goal
Make the API consistent without breaking v1.0.x code. Use lifecycle::deprecate_soft() for old call forms, and record the 2.0 naming targets in an ADR.
Scope
ceac(wtp, psa)versuscalc_evpi(psa, wtp):ceac()should accept(psa, wtp). If the first argument is apsaobject, use it directly. The old order still works, with a soft deprecation warning.- Shared plot arguments, added without breaking anything:
currency,effect_units,col = c("access", "full", "bw"),txtsize,n_x_ticks/n_y_ticks,xlim/ylim. Current gaps:plot.icershas fixedcol.plot.evpiandplot.evppihave nocol.plot.owsausessizewhileplot.exp_lossuseslsize.effect_unitsdefaults to "QALYs" inplot.icersand "QALY" elsewhere.plot.owsa,plot.twsaandowsa_opt_strathave noxlim/ylim.
- One-page API style ADR in CONTRIBUTING (verb prefix,
psaas first argument,effectversuseffectiveness, column caseStrategy/strategy). Larger renames such ascalc_versuscalculate_get aliases only if the team agrees (meeting decision 3). summary.ceac'scost_eff_strat→optimal_strategyrename (#173) is accepted as a documented minor break.
Acceptance
- The old call forms still work and give one soft deprecation warning.
- New tests cover both forms.
- The ADR is merged.
- Lenguaje dominante
- R
- Estrellas
- 43
- Forks
- 14
- Merge medio
- 4 h 44 min
- PR fusionados (30 d)
- 15
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DARTH-git/dampack
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Release dampack 1.1.0 to CRANAbiertorelease
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Los mantenedores suelen responder en 1 día
-
documentation release
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
Los mantenedores suelen responder en 1 día
Todos los issues de DARTH-git/dampack
Issues similares
-
documentation priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Pascal-Kueng/dyadMLM#179 ·
Los mantenedores suelen responder en 1 día
-
Consider changesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
OHDSI/OmopSketch#618 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
bug exec:agent status:fix-merged
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ichirio/rtfreporter#1046 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día