-
Notifications
You must be signed in to change notification settings - Fork 4
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
Documentation & Templates: Make subject keys consistently flexible #226
Comments
I added set_admiral_options() right below the library functions in each of the templates based on the example in https://pharmaverse.github.io/admiral/reference/set_admiral_options.html. Would the placement of the function be the same for vignettes? Also, what would be the placement in the functions? Thanks! |
@aldrichsalva the admiral package already defaults to these values so you don't need to ever set them in the templates (unless a user ever wanted to change these). you could follow this PR to guide on the updates needed, but bear in mind its still in progress so see the review comments: pharmaverse/admiral#2452 |
thanks @rossfarrugia - @aldrichsalva I believe for admiralophtha you'd just have to replace any mentions like this:
with something like this:
with the code a little more complex in the case that the |
I made a similar PR for admiralonco earlier for this as FYI: https://github.com/pharmaverse/admiralonco/pull/285/files - there's a couple of minor other pieces updated there too, but in the most part its examples like Edoardo shared above. To find the impacts I used a search on the github repo for |
Also I realised that for the admiralroche (closed source) templates we did choose to include the |
@aldrichsalva any chance you can take a stab at this today, so that we can release tomorrow? otherwise i can take over form you. |
@manciniedoardo apologies for the delay! Please take over if that is ok. |
Please select a category the issue is focused on?
User Guides
Let us know where something needs a refresh or put your idea here!
There's some examples in the vignettes and the templates where
STUDYID
orUSUBJID
are still being called usually inby_vars
instead ofget_admiral_option("subject_keys")
. See https://pharmaverse.github.io/admiral/reference/#admiral-options.For example see
inst/templates/ad_adoe.R
orvignettes/advfq.Rmd
.Also in assertion check call in
R/derive_var_bcvacritxfl.R
.FYI @manciniedoardo
The text was updated successfully, but these errors were encountered: