Skip to content

Commit c861749

Browse files
committed
superlinter updates, added default to get_ex028
1 parent 54a4394 commit c861749

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

R/radqlqc.R

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ prep_adqlqc <- function(df) {
648648
#' @keywords internal
649649
#'
650650
#' @examples
651-
get_ex028 <- function(adsl) {
651+
get_ex028 <- function(adsl = adsl) {
652652
# https://rochewiki.roche.com/confluence/pages/viewpage.action?spaceKey=GDSO&title=ADQLQC
653653
# EX028
654654
# start with the cartesian (i.e. outer) product of all possible combinations of
@@ -660,14 +660,18 @@ get_ex028 <- function(adsl) {
660660

661661
# common scenarios, why a subject wasn't expected to complete a questionnaire, are:
662662
# Questionnaires aren't to be completed at the specific visit (e.g. ADQLQC.AVISIT has a certain value).
663-
# The subject hasn't reached the visit yet (e.g. ADQLQC.AVISIT is greater than the last visit present in the SV-domain for this subject).
663+
# The subject hasn't reached the visit yet (e.g. ADQLQC.AVISIT is greater than the last visit present
664+
# in the SV-domain for this subject).
664665
# The subject switched to the follow-up period after disease progression
665-
# (e.g. ADQLQC.AVISIT is not a follow-up visit and is greater than the last non-follow-up visit present in the SV-domain for this subject).
666-
# The subject died (e.g. ADSL.DTHDT is not missing and the difference between ADSL.DTHDT and ADSL.TRTSDT is less than the study day at
666+
# (e.g. ADQLQC.AVISIT is not a follow-up visit and is greater than the last non-follow-up visit present
667+
# in the SV-domain for this subject).
668+
# The subject died (e.g. ADSL.DTHDT is not missing and the difference between ADSL.DTHDT and
669+
# ADSL.TRTSDT is less than the study day at
667670
# which the visit should have occurred).
668-
# The subject discontinued from the study (e.g. ADSL.EOSDT is not missing and the difference between ADSL.EOSDT and ADSL.TRTSDT is less
669-
# than the study day at which the visit should have occurred).
670-
# The above list is not complete. The study protocol must be consulted and the derivations must be chosen in a way to accurately reflect the protocol.
671+
# The subject discontinued from the study (e.g. ADSL.EOSDT is not missing and the difference between
672+
# ADSL.EOSDT and ADSL.TRTSDT is less than the study day at which the visit should have occurred).
673+
# The above list is not complete. The study protocol must be consulted and the derivations must be chosen
674+
# in a way to accurately reflect the protocol.
671675
# The details of the derivation have to be documented in the DAP M3.
672676

673677
# using ADSL

0 commit comments

Comments
 (0)