Skip to content

Commit ea38ac1

Browse files
committed
Fix lintr issues
1 parent c4a13cc commit ea38ac1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

R/tm_a_regression.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +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-
# nolint start: line_length_lintr.
40+
# nolint start: line_length
4141
#' @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_lintr.
42+
# nolint end: line_length
4343
#'
4444
#' @inherit shared_params return
4545
#'

R/tm_g_association.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ tm_g_association <- function(label = "Association",
151151
show_association = TRUE,
152152
plot_height = c(600, 400, 5000),
153153
plot_width = NULL,
154-
distribution_theme = c("gray", "bw", "linedraw", "light", "dark", "minimal", "classic", "void"), # nolint: line_length_lintr.
155-
association_theme = c("gray", "bw", "linedraw", "light", "dark", "minimal", "classic", "void"), # nolint: line_length_lintr.
154+
distribution_theme = c("gray", "bw", "linedraw", "light", "dark", "minimal", "classic", "void"), # nolint line_length_lintr.
155+
association_theme = c("gray", "bw", "linedraw", "light", "dark", "minimal", "classic", "void"), # nolint line_length_lintr.
156156
pre_output = NULL,
157157
post_output = NULL,
158158
ggplot2_args = teal.widgets::ggplot2_args(),

R/tm_g_response.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ srv_g_response <- function(id,
524524
resp_cl = resp_cl,
525525
hjust_value = if (swap_axes) "left" else "middle",
526526
vjust_value = if (swap_axes) "middle" else -1,
527-
position_anl2_value = if (!freq) quote(position_fill(0.5)) else quote(position_stack(0.5)), # nolint: line_length_lintr.
527+
position_anl2_value = if (!freq) quote(position_fill(0.5)) else quote(position_stack(0.5)), # nolint line_length_lintr
528528
anl3_y = if (!freq) 1.1 else as.name("ns"),
529529
position_anl3_value = if (!freq) "fill" else "stack"
530530
)

0 commit comments

Comments
 (0)