Skip to content

Commit e4ad8a2

Browse files
committed
chore: remove unnecessary vars in favor of long roxygen2 line with code and nolint
1 parent 1c8d0d7 commit e4ad8a2

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

R/tm_a_regression.R

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
#' It takes the form of `c(value, min, max)` and it is passed to the `value_min_max`
3838
#' argument in `teal.widgets::optionalSliderInputValMinMax`.
3939
#'
40-
#' @param ggplot2_args `r roxygen_ggplot2_args_param(regression_names)`
40+
# nolint start: line_length.
41+
#' @param ggplot2_args `r roxygen_ggplot2_args_param("Response vs Regressor", "Residuals vs Fitted", "Scale-Location", "Cook's distance", "Residuals vs Leverage", "Cook's dist vs Leverage")`
42+
# nolint end: line_length.
4143
#' @param decorators `r roxygen_decorators_param("tm_a_regression")`
4244
#'
4345
#' @inherit shared_params return
@@ -1034,11 +1036,3 @@ srv_a_regression <- function(id,
10341036
###
10351037
})
10361038
}
1037-
1038-
regression_names <- c(
1039-
"Response vs Regressor",
1040-
"Residuals vs Fitted",
1041-
"Scale-Location", "Cook's distance",
1042-
"Residuals vs Leverage",
1043-
"Cook's dist vs Leverage"
1044-
)

R/tm_missing_data.R

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
#' @param parent_dataname (`character(1)`) Specifies the parent dataset name. Default is `ADSL` for `CDISC` data.
1111
#' If provided and exists, enables additional analysis "by subject". For non-`CDISC` data, this parameter can be
1212
#' ignored.
13+
# nolint start: line_length.
1314
#' @param ggtheme (`character`) optional, specifies the default `ggplot2` theme for plots. Defaults to `classic`.
15+
# nolint end: line_length.
1416
#'
15-
#' @param ggplot2_args `r roxygen_ggplot2_args_param(missing_data_names)`
17+
#' @param ggplot2_args `r roxygen_ggplot2_args_param("Summary Obs", "Summary Patients", "Combinations Main", "Combinations Hist", "By Subject")`
1618
#' @param decorators `r roxygen_decorators_param("tm_missing_data")`
1719
#'
1820
#' @inherit shared_params return
@@ -1405,7 +1407,3 @@ srv_missing_data <- function(id,
14051407
###
14061408
})
14071409
}
1408-
1409-
missing_data_names <- c(
1410-
"Summary Obs", "Summary Patients", "Combinations Main", "Combinations Hist", "By Subject"
1411-
)

0 commit comments

Comments
 (0)