-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add lbt07 #366
Add lbt07 #366
Conversation
🧪 Code Coverage Summary
Results for commit: ea0290e0026458621290aadce0c760463f03a486 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
R/lbt07.R
Outdated
#' | ||
#' @inheritParams gen_args | ||
#' @param lbl_param (`character`) label of the `PARAM` variable. | ||
#' @param lbl_gradedir (`character`) label of the `GRADE_DIR` variable. |
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.
this can cause confusion: what is GRADE_DIR
variable? though we are going to have changes to the preprocessing part, it is necessary to add more information on the derived variables for 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.
Thanks @ayogasekaram ,
I get the below error on my data, do we need to ensure we're converting PARAM
to factor if it is required?
Error: Error applying analysis function (var - GRADE_ANL): Assertion on 'df[[variables$param]]' failed: Must be of type 'factor' (or 'NULL'), not 'character'.
chatted with Joe last week and thought it would be helpful for me to review some PRs. Looking at the chevron readme and following the directions to install staged dependencies etc., I get errors that I can address by using chevron:::<function_name> but I can't get around the following error. I'm running this in an R 4.1.3 container.
I assume I'm doing something wrong but only find one reference to this object and it's on the right hand side of an assignment statement. Might need a walkthrough to get me started... |
hi @npaszty , I was wondering if you are using the latest tern? |
@shajoezhu I updated the ref = from main to this branch for staged.dependencies and after I run build for chevron, the version changes to 0.1.1.9028. so something definitely up there. looking further into this. this works to produce the AET02 table but this doesn't, see error below similar initial errors and now another error once addressed previous in same way.
best to have walkthrough so I'm not wasting developer time. I can't imagine my environment is properly set up but it's been a while since I did this for NEST so must be missing something or maybe readme needs update. let's circle back next Tuesday at our checkin |
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.
The preprcoessing has filtering that is not described in the specification - can the redundant parts be removed please (eg. ANL01FL=Y
)
Signed-off-by: Abinaya Yogasekaram <[email protected]>
@ayogasekaram FYI the |
JUnit report for branch |
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 good to me!
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 don't think the below is doing anything, as the values for missing are just "" rather than <Missing>
filter(.data$ATOXGR != "<Missing>"
@shajoezhu maybe you can just add a explicit_na for ATOXGR just like other templates so that the missing values will be explicit missing and then remove those rows? And after this is completed we just merge this PR; @barnett11 If there are further comments, we can create another issue as this PR is getting large |
lbt07 template.
closes insightsengineering/chevron-tasks#27