Skip to content

Commit 09ac901

Browse files
committed
Split lines to fix linter issues
1 parent df4b37d commit 09ac901

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

R/tm_a_pca.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,9 @@ srv_a_pca <- function(id, data, reporter, filter_panel_api, dat, plot_height, pl
794794
pca_plot_biplot_expr <- c(
795795
pca_plot_biplot_expr,
796796
substitute(
797-
ggplot2::geom_point(ggplot2::aes_string(x = x_axis, y = y_axis), data = pca_rot, alpha = alpha, size = size),
797+
ggplot2::geom_point(ggplot2::aes_string(x = x_axis, y = y_axis),
798+
data = pca_rot, alpha = alpha, size = size
799+
),
798800
list(x_axis = input$x_axis, y_axis = input$y_axis, alpha = input$alpha, size = input$size)
799801
)
800802
)

R/tm_g_distribution.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,8 @@ srv_distribution <- function(id,
816816
substitute(
817817
expr = ggplot2::ggplot(ANL, aes(dist_var_name, col = s_var_name)) +
818818
ggplot2::geom_histogram(
819-
position = "identity", ggplot2::aes(y = ggplot2::after_stat(m_type), fill = s_var), bins = bins_var, alpha = 0.3
819+
position = "identity", ggplot2::aes(y = ggplot2::after_stat(m_type), fill = s_var),
820+
bins = bins_var, alpha = 0.3
820821
),
821822
env = list(
822823
m_type = as.name(m_type),

R/tm_outliers.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,10 @@ srv_outliers <- function(id, data, reporter, filter_panel_api, outlier_var,
980980
qenv,
981981
substitute(
982982
expr = cumulative_plot <- plot_call +
983-
ggplot2::geom_point(data = outlier_points, ggplot2::aes(x = outlier_var_name, y = y, color = is_outlier_selected)) +
983+
ggplot2::geom_point(
984+
data = outlier_points,
985+
ggplot2::aes(x = outlier_var_name, y = y, color = is_outlier_selected)
986+
) +
984987
ggplot2::scale_color_manual(values = c("TRUE" = "red", "FALSE" = "black")) +
985988
labs + ggthemes + themes,
986989
env = list(

0 commit comments

Comments
 (0)