diff --git a/R/g_lineplot.R b/R/g_lineplot.R index ca59da95c7..851ac91dbb 100644 --- a/R/g_lineplot.R +++ b/R/g_lineplot.R @@ -477,7 +477,9 @@ h_format_row <- function(x, format, labels = NULL) { #' @param x (`character`)\cr x variable name. #' @param y (`character`)\cr y variable name. #' @param group_var (`character` or `NA`)\cr group variable name. +#' @param strata (`character` or `NA`)\cr deprecated, group variable name. #' @param subject_var (`character` or `NA`)\cr subject variable name. +#' @param cohort_id (`character` or `NA`)\cr deprecated, subject variable name. #' @param paramcd (`character` or `NA`)\cr `paramcd` variable name. #' @param y_unit (`character` or `NA`)\cr `y_unit` variable name. #' @@ -489,11 +491,14 @@ h_format_row <- function(x, format, labels = NULL) { #' #' @export control_lineplot_vars <- function(x = "AVISIT", y = "AVAL", group_var = "ARM", paramcd = "PARAMCD", y_unit = "AVALU", - subject_var = "USUBJID", strata = lifecycle::deprecated(), cohort_id = lifecycle::deprecated()) { + subject_var = "USUBJID", strata = lifecycle::deprecated(), + cohort_id = lifecycle::deprecated()) { checkmate::assert_string(x) checkmate::assert_string(y) checkmate::assert_string(group_var, na.ok = TRUE) + checkmate::assert_string(strata, na.ok = TRUE) checkmate::assert_string(subject_var, na.ok = TRUE) + checkmate::assert_string(cohort_id, na.ok = TRUE) checkmate::assert_string(paramcd, na.ok = TRUE) checkmate::assert_string(y_unit, na.ok = TRUE) diff --git a/man/control_lineplot_vars.Rd b/man/control_lineplot_vars.Rd index ff425c61ad..64f03df837 100644 --- a/man/control_lineplot_vars.Rd +++ b/man/control_lineplot_vars.Rd @@ -27,6 +27,10 @@ control_lineplot_vars( \item{y_unit}{(\code{character} or \code{NA})\cr \code{y_unit} variable name.} \item{subject_var}{(\code{character} or \code{NA})\cr subject variable name.} + +\item{strata}{(\code{character} or \code{NA})\cr deprecated, group variable name.} + +\item{cohort_id}{(\code{character} or \code{NA})\cr deprecated, subject variable name.} } \value{ A named character vector of variable names.