v0.4.3 #23
pkg-maintenance.yaml
on: pull_request
auto-pkg-maintenance
/
auto-pkg-maintenance
2m 57s
Annotations
10 warnings and 10 notices
lintr - style - indentation_linter:
R/color.R#L116
R/color.R:116:6: style: [indentation_linter] Hanging indent should be 9 spaces but is 6 spaces.
"Color names in `colors` must be valid CSS classes",
^~~~
|
lintr - style - brace_linter:
R/css.R#L52
R/css.R:52:33: style: [brace_linter] Either both or neither branch in `if`/`else` should use curly braces.
values[[font_is_google]] <- if (!is.null(values[[font_is_google]])) {
^~
|
lintr - style - brace_linter:
R/ggplot2.R#L377
R/ggplot2.R:377:3: style: [brace_linter] Either both or neither branch in `if`/`else` should use curly braces.
if (utils::packageVersion("ggplot2") >= package_version("3.3.0")) {
^~
|
lintr - style - indentation_linter:
R/ggplot2.R#L424
R/ggplot2.R:424:6: style: [indentation_linter] Hanging indent should be 24 spaces but is 6 spaces.
fill = text_color,
^~~~~~~~~~~~~~~~~~~
|
lintr - style - indentation_linter:
R/ggplot2.R#L438
R/ggplot2.R:438:6: style: [indentation_linter] Hanging indent should be 24 spaces but is 6 spaces.
fill = accent_color),
^~~~~~~~~~~~~~~~~~~
|
lintr - style - indentation_linter:
R/ggplot2.R#L443
R/ggplot2.R:443:6: style: [indentation_linter] Hanging indent should be 24 spaces but is 6 spaces.
color = accent_secondary_color),
^~~~~~~~~~~~~~~~~~~
|
lintr - style - indentation_linter:
R/ggplot2.R#L446
R/ggplot2.R:446:6: style: [indentation_linter] Hanging indent should be 24 spaces but is 6 spaces.
family= text_font %||% get_theme_font("text")),
^~~~~~~~~~~~~~~~~~~
|
lintr - style - infix_spaces_linter:
R/ggplot2.R#L446
R/ggplot2.R:446:13: style: [infix_spaces_linter] Put spaces around all infix operators.
family= text_font %||% get_theme_font("text")),
^
|
lintr - style - indentation_linter:
R/ggplot2.R#L448
R/ggplot2.R:448:6: style: [indentation_linter] Hanging indent should be 24 spaces but is 6 spaces.
family= text_font %||% get_theme_font("text")),
^~~~~~~~~~~~~~~~~~~
|
lintr - style - infix_spaces_linter:
R/ggplot2.R#L448
R/ggplot2.R:448:13: style: [infix_spaces_linter] Put spaces around all infix operators.
family= text_font %||% get_theme_font("text")),
^
|
lintr - style - line_length_linter:
R/color.R#L51
R/color.R:51:81: style: [line_length_linter] Lines should not be more than 80 characters. This line is 81 characters.
#' @return A character string with added opacity level as hexadecimal characters.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
lintr - style - line_length_linter:
R/color.R#L74
R/color.R:74:81: style: [line_length_linter] Lines should not be more than 80 characters. This line is 81 characters.
#' `substitute(lighten_color(x, 0.8))`, if white text provides the best contrast.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
lintr - style - line_length_linter:
R/color.R#L82
R/color.R:82:81: style: [line_length_linter] Lines should not be more than 80 characters. This line is 83 characters.
#' scales::show_col(c(light_green, contrast_green, dark_purple, contrast_purple))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
|
lintr - style - line_length_linter:
R/color.R#L99
R/color.R:99:81: style: [line_length_linter] Lines should not be more than 80 characters. This line is 90 characters.
color_rgb[color_rgb > 0.03928] <- ((color_rgb[color_rgb > 0.03928] + 0.055) / 1.055)^2.4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
|
lintr - style - line_length_linter:
R/color.R#L121
R/color.R:121:81: style: [line_length_linter] Lines should not be more than 80 characters. This line is 82 characters.
maybe_bad_css <- unique(grep("^[_-]|[ .>~*:|+}/]", names(colors), value = TRUE))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
|
lintr - style - line_length_linter:
R/css.R#L15
R/css.R:15:81: style: [line_length_linter] Lines should not be more than 80 characters. This line is 87 characters.
is_xt <- grepl(pattern = "generated by xaringanthemer", css_files_head, fixed = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
lintr - style - line_length_linter:
R/css.R#L26
R/css.R:26:81: style: [line_length_linter] Lines should not be more than 80 characters. This line is 88 characters.
is_xaringan_themer_css <- grepl("xaringan-themer.css", css_candidates, fixed = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
|
lintr - style - line_length_linter:
R/ggplot2.R#L76
R/ggplot2.R:76:81: style: [line_length_linter] Lines should not be more than 80 characters. This line is 108 characters.
accent_secondary_color <- accent_secondary_color %||% xaringanthemer_env$text_bold_color %||% accent_color
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
lintr - style - line_length_linter:
R/ggplot2.R#L162
R/ggplot2.R:162:81: style: [line_length_linter] Lines should not be more than 80 characters. This line is 87 characters.
background_color <- background_color %||% xaringanthemer_env$inverse_background_color
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
lintr - style - line_length_linter:
R/ggplot2.R#L205
R/ggplot2.R:205:81: style: [line_length_linter] Lines should not be more than 80 characters. This line is 83 characters.
#' `text_bold_color` or `accent_color`. Used only when setting \pkg{ggplot2} geom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
|