-
Notifications
You must be signed in to change notification settings - Fork 66
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
Bug: The result of derive_param_tte()
depends on the sort order of the input
#2481
Comments
Is this a bug we need to push a patch out for or something we can wait on till next release? |
I'd say next release as its not a bug as such (the function does what it says) - its more just the lack of a useful feature |
Should I tag the team and community team to see if anyone is interested or do we feel like this is a bit more complicated? |
I think it is something in between a bug and a feature. Maybe we should call it a gap because for the scenario of more than one record per date the expected behavior of the function is not described. I think it is OK to tag the team and community team but it shouldn't be labelled as "good first issue". It could be a good issue for team members who have some time and are interested in getting familiar with one of the more complex admiral functions. |
@pharmaverse/admiral and @pharmaverse/admiral_comm this is a good one to tackle, but it is not a "good first issue". You will get into the weeds a bit, but great way to learn more about admiral!! |
@bms63 @bundfussr @rossfarrugia I have some free time and can take a look. When is our next release date again? |
thanks @ProfessorP-beep - it's early Dec: see https://pharmaverse.github.io/admiral/#release-schedule |
Ha sorry @manciniedoardo - i quoted from the site, but think I remember you and Ben saying it'll push back to Jan |
at the rate we are going we might just do a release in early December. Work has really chilled out! Unless you want to lead some huge refactor @rossfarrugia ?? |
@ProfessorP-beep will this one be ready for the next release? If you were able to get the updates in |
@rossfarrugia Sorry, things got very chaotic at work and I had to shift focus. Give me a week and I can update you on if I can get it done by the next release. |
Should have a lot of time to work on this the rest of the week and aiming to get a push out by Friday / Saturday. |
What happened?
The result of
derive_param_tte()
depends on the sort order of the input. See example below.An
order
argument should be added toevent_source()
andcensor_source()
. It should be defaulted toNULL
. It expects a list of variables, which are used in addition todate
for sorting the input data.The
check_type
argument should be added toderive_param_tte()
and defaulted to"warning"
. The uniqueness of the selected records should be checked by callingsignal_duplicate_records()
.Session Information
No response
Reproducible Example
produces
but
produces
The text was updated successfully, but these errors were encountered: