-
Notifications
You must be signed in to change notification settings - Fork 3
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
Close (#22) Created Obesity ADVS Vignette #26
Conversation
Amazing job @Siddhesh2097 ! I noticed that the pull-request is still in draft mode though. Are you still working on it, or do you want a review? |
@AndersAskeland Not able to resolve the pending two checks . Can you help ? |
@Siddhesh2097 I just did a quick check, and it seems to be triggered by using the function I will check if I can find any good workarounds later today or tomorrow. |
I am unsure how we proceed for these failed check. If we skip the CI checks for this pull request, we will encounter the same error in all new branches / pull requests from now on (until the function is released in admiral base). We don't want that. The best alternative I can see would be to temporarily copy / paste There might still be a potential problem with the checks for the old release of admiral though. However, I am unsure which version the CI check use, and how long until this function propagate down to an old release. Do you have any other suggestions @manciniedoardo , and do you know how one usually handle the check for an old release in these extension packages? |
While we are waiting to find out how to handle the failing tests, here are some other general comments :)
|
@Siddhesh2097 @AndersAskeland I've now fixed the failing checks (thanks @bundfussr for the support) - it was sort of my fault but I can try explain below. Our CICD actions look for the
I've updated the file within this PR so that once merged we don't have this problem anymore. NB: @AndersAskeland I believe these checks refer to R releases rather than |
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 @Siddhesh2097 - this is a super first draft!
Along with my review comments, as @AndersAskeland mentioned please could you update _pkgdown.yml
to remove references to adxx
and sub them with references to advs
so that it is possible to navigate to the vignette from the website navbar.
Thanks!
@kathrinflunkert can you also please review? |
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 @Siddhesh2097 - changes look good and i've given it a second pass.
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.
Sorry for this review being a bit late. I forgot to actually submit it :P
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.
Some formatting/typo corrections
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.
Looks great in general! I was able to follow all steps in the vignette. I only added one comment on the PARAMN.
Add PARAMN for all parameters and not just for BMI.
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 @Siddhesh2097 - one final review from me. We discussed in the {admiral} core team and with @AndersAskeland and have concluded that in order not to duplicate content, it's ok that the vignette is not completely executable, so if you could please hide the relevant sections that would be super.
Once this is done I think we are ready to merge and I will approve and merge in.
@pharmaverse/admiralmetabolic - see my comment above regarding the executability of the vignette. Once @Siddhesh2097 addresses the final comments we should be ready to merge, so unless you have any final thoughts, please approve this PR 😄 |
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.
Amazing work @Siddhesh2097 ! It is almost there. I have some small suggestions in relation to text/phrasing. Its up to you if you want to implement them.
Co-authored-by: Anders Askeland <[email protected]>
Co-authored-by: Anders Askeland <[email protected]> Co-authored-by: Edoardo Mancini <[email protected]>
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.
Amazing job Siddhesh!!
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.
Woho! Great work!
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.
Super work @Siddhesh2097 😄
I have done review already after the merge and I only have two suggestions:
|
Thank @starosto - nothing precludes us from updating the vignette anyway 😄 These parameters sound interesting. are they common in your study? @pharmaverse/admiralmetabolic - have you seen these before? |
@manciniedoardo yes, we have these parameters in some studies. DTG is derived as 100*(BMI at baseline - BMI at visit)/(BMI at baseline - target BMI). Target BMI depends on BMI at baseline and should be defined by the user. |
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 family 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
main
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
under the header# admiral<ext> (development version)
if the changes pertain to a user-facing function (i.e. it has an@export
tag) or documentation aimed at users (rather than developers)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()