v0.4.3 #23
Annotations
10 warnings and 10 notices
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",
^~~~
|
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]])) {
^~
|
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")) {
^~
|
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,
^~~~~~~~~~~~~~~~~~~
|
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),
^~~~~~~~~~~~~~~~~~~
|
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),
^~~~~~~~~~~~~~~~~~~
|
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")),
^~~~~~~~~~~~~~~~~~~
|
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")),
^
|
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")),
^~~~~~~~~~~~~~~~~~~
|
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")),
^
|
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
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))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
|
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
|
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))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
|
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)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
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)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
|
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
|
This job succeeded
Loading