-
Notifications
You must be signed in to change notification settings - Fork 8
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
Closes #234 Add new ADRS vignette #240
Closes #234 Add new ADRS vignette #240
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bundfussr leaving first batch of review comments. i need to run pkgdown next as easier to review the vignettes that way, so may have some more to add.
@amitjaingsk i'm focusing my review mostly on the documentation so trust you and the other team members are reviewing the code here and comparing the new alternative ADRS code against the basic version we have to ensure consistent results over some different data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few more comments for consideration - and still working through reviewing the new vignette
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final review comments from me for this PR
@bundfussr do you think users might get confused that we have |
I forgot to mention that the new admiral functionality is not merged to |
Good point! I have added it to the clean-up discussion. |
@amitjaingsk , I have updated the ADRS vignettes and templates such that they are using the new test data from pharmasdtm now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Stefan,
I did some review but as not able to run and see the results and vignette. Not able to review thoroughly. But provided few comments please have a look.
R/event_sources.R
Outdated
#' R console, e.g. `bor_sd`. For details of how to use these objects | ||
#' please refer to [admiral::derive_extreme_event()]. | ||
#' | ||
#' It is assumed that `dataset_name = "ovr"` refers to the dataset of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here you mean we only include overall response record and not target or non-target responses at each visit? if right can we update:
It is assumed that dataset_name = "ovr"
refers to the dataset of the only overall response assessments at each visit which should be considered for the parameter....
2. I assume we prefer to only consider post-baseline records in 'ovr' dataset.. if yes can you please add as its important. Now in SDTM RS domain, some companies also include prior anti-cancer therapy or screening responses.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the text regarding both points.
R/event_sources.R
Outdated
dataset_name = "adsl", | ||
condition = TRUE, | ||
set_values_to = exprs( | ||
AVALC = "MISSING" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AVALC (and aval) should not be both missing.. I guess we can use 'NE' right. So, the intend is to create this in the end right? I understand it but can we update the description "Define missing response (MISSING) for all patients in adsl in your population who has no post baseline response (should be used", "as last event)"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the text as suggested. You could use AVALC = "NE"
instead of AVALC = "MISSING"
. I used AVALC = "MISSING"
because that's used in the basic version and was used in the old vignette.
@amitjaingsk , for a rendered version of the website please see https://bundfussr.github.io/admiral/234_deprecate/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating Stefan. I was able to run adrs_basic is its looks good, only one suggestion I made. for adrs, I was not able to run so not able to make sure the results are matching is adrs_basic , did you checked? Otherwise it looks good.
I compared the results of the adrs and adrs_basic template. They match (except that adrs additionally creates |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bundfussr few more comments from re-review
Suggestion: i think the potentially easiest solution here is in admiralonco call it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bundfussr few more minor comments spotted and then happy to approve
Please add "Closes #" to the title of the pull request. Then the
issue is closed automatically once it is merged to
main
.Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the
devel
branch until you have checked off each task.styler::style_file()
to style R and Rmd filesdevtools::document()
so all.Rd
files in theman
folder and theNAMESPACE
file in the project root are updated appropriatelyNEWS.md
pkgdown::build_site()
and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.lintr::lint_package()
R CMD check
locally and address all errors and warnings -devtools::check()
The following line requests to update the man pages by the "Man Pages" workflow.
/roxygenize