-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
added required columns to docs #149
Conversation
Code Coverage Summary
Results for commit: 9b0bd95 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
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.
From a coding perspective this is fine - should probably wait for Nick P to approve before merging
R/tm_g_gh_lineplot.R
Outdated
@@ -5,7 +5,7 @@ | |||
#' @inheritParams teal.widgets::standard_layout | |||
#' @param label menu item label of the module in the teal app. | |||
#' @param dataname analysis data passed to the data argument of teal init. E.g. ADaM structured | |||
#' laboratory data frame ADLB. | |||
#' laboratory data frame ADLB. This table must contain the columns `AVISITCD`, `BASE`, `BASE2`, `AVALU`, `LBSTRESC` |
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.
there are others like LOQFL but this is documented as comments in the app.R code. whats best approach so as not to repeat in header across all modules and functions?
i seem to remember roxygen having ability to read in a template chunk of header info.
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 included them in the teal_goshawk.R file
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.
@junlueZH
i believe the full list for goshawk/teal.goshawk is
goshawk expects the following variables: AVISITCD, AVALU, BASE2, CHG2, LBSTRESC, LOQFL, PCHG2
should also be in goshawk
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.
@npaszty added
Hi @npaszty |
I added a number of additional comments to the sample app.R file in teal.gallery. Those should be brought into the goshawk and teal.goshawk documentation so that it's easy/intuitive for users to find the information. Currently the addition to teal_goshawk.R is only revealing required variable names but I think it would be more helpful to enhance with what the variables are and the rationale for having added them. I was thinking that a vignette should be written to document more effectively. Thoughts? |
This PR has 1 year. If it needs a discussion please move it to the issue and close this PR. |
wow this is old. |
Code Coverage Summary
Diff against main
Results for commit: fd3f760 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
part of #121
added the required columns in the roxgyen docs.
And also similarly mentioned the required columns in the gosahawk app of teal.gallery:
https://code.roche.com/nest/r-packages/teal.gallery/-/merge_requests/18