Skip to content

Commit

Permalink
update indent for lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
ayogasekaram committed Oct 16, 2023
1 parent 1a81ed1 commit 0822b8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/g_lineplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ g_lineplot <- function(df,
# lines
# further conditions in if are to ensure that not all of the groups consist of only one observation
if (grepl("l", mid_type, fixed = TRUE) &&
!is.null(strata) &&
!all(dplyr::summarise(df_grp, count_n = dplyr::n())[["count_n"]] == 1L)) {
!is.null(strata) &&

Check warning on line 293 in R/g_lineplot.R

View workflow job for this annotation

GitHub Actions / SuperLinter 🦸‍♀️ / Lint R code 🧶

file=R/g_lineplot.R,line=293,col=8,[indentation_linter] Indentation should be 10 spaces but is 8 spaces.
!all(dplyr::summarise(df_grp, count_n = dplyr::n())[["count_n"]] == 1L)) {
p <- p + ggplot2::geom_line(position = position, na.rm = TRUE)
}
}
Expand Down

0 comments on commit 0822b8b

Please sign in to comment.