New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate derive_vars_suppqual #950
Comments
@statasaurus , tester feedback regarding derive_vars_suppqual():
Can you consider this in your implementation? |
Do we want to get this into |
@bms63 - it's there now https://pharmaverse.github.io/metatools/reference/combine_supp.html and i have someone from Roche that has done some user testing and fed back to @statasaurus & @mstackhouse. Christina could comment as to whether now is a good time to get this out of admiral. The pharmaverse e2e vignette will then help to explain where to get this utility from. |
Yes you can! I was waiting on the art for metacore. But that is done. So I am probably push to CRAN for that today and metatools by the end of the week or so |
@bms63 for the |
Umm...I would think some sort of messaging would be nice - beyond just the changelog. Does anyone actually check that besides developers :) ? Also, thinking of users....for example I'm using it in my code for datasets at GSK and if I installed 0.7.0 and the update crashed my code with no messaging then I would be a bit clueless. |
Fair, makes sense - agree to give a user message but i'd say no need to then automatically route the code to the metatools function - that was more my point here. a user would need to make that call whether they want to use this new package (and if using on a validated container they'd need to get validated as per their company requirements etc). Also i'd say a changelog is like a bible for any user too, especially when the package is still evolving so quickly like this one. |
i see now you were suggesting to show metatools in the documentation/roxygen2 section rather than the code itself - i'm fine with that. i was saying i dont think we need it in the usual code section we add:
|
In order to avoid a metatools dependency let's not use the usual fun_xxx <- function(dataset, new_var) {
deprecate_warn("x.y.z", "fun_xxx()", "new_fun_xxx()")
new_fun_xxx(dataset, new_var = new_var)
} but rather fun_xxx <- function(dataset, new_var) {
deprecate_stop("x.y.z", "fun_xxx()", "metatools::new_fun_xxx()")
} |
Hi @statasaurus |
Deprecate https://github.com/pharmaverse/admiral/blob/main/R/derive_vars_suppqual.R once @statasaurus adds the functionality to metatools, and update any vignettes mentioning this to take it out and we can cover instead in the e2e ADaM creation vignette on the pharmaverse site.
Rationale: Adding/removing suppquals to/from SDTM is not strictly part of ADaM creation, and can be needed for other purposes, such as preparing SDTM for eSub. So we felt this fits better into metatools instead and Christina kindly offered to help support the development effort with @mstackhouse (FYI Mike as you proposed this over email). p.s. i'll remove the SUPPQUAL repo i created in pharmaverse, as was a bad idea in hindsight to have a separate new package for such small functionality.
The text was updated successfully, but these errors were encountered: