Skip to content

Commit

Permalink
correct lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
ayogasekaram committed Oct 31, 2023
1 parent 532eed8 commit 0a8d756
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion R/g_lineplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#'
Expand All @@ -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)

Expand Down
4 changes: 4 additions & 0 deletions man/control_lineplot_vars.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0a8d756

Please sign in to comment.