Skip to content

Commit

Permalink
format as code
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcaseb committed Feb 4, 2024
1 parent 43d827c commit 7882a73
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions R/geom_nfl_headshots.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#' @section Aesthetics:
#' `geom_nfl_headshots()` understands the following aesthetics (required aesthetics are in bold):
#' \describe{
#' \item{**x**}{The x-coordinate.}
#' \item{**y**}{The y-coordinate.}
#' \item{**player_gsis**}{The players' NFL gsis id.}
#' \item{**`x`**}{The x-coordinate.}
#' \item{**`y`**}{The y-coordinate.}
#' \item{**`player_gsis`**}{The players' NFL gsis id.}
#' \item{`alpha = NULL`}{The alpha channel, i.e. transparency level, as a numerical value between 0 and 1.}
#' \item{`colour = NULL`}{The image will be colorized with this colour. Use the special character `"b/w"` to set it to black and white. For more information on valid colour names in ggplot2 see <https://ggplot2.tidyverse.org/articles/ggplot2-specs.html?q=colour#colour-and-fill>}
#' \item{`angle = 0`}{The angle of the image as a numerical value between 0° and 360°.}
Expand Down
6 changes: 3 additions & 3 deletions R/geom_nfl_logos.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#' @section Aesthetics:
#' `geom_nfl_logos()` understands the following aesthetics (required aesthetics are in bold):
#' \describe{
#' \item{**x**}{The x-coordinate.}
#' \item{**y**}{The y-coordinate.}
#' \item{**team_abbr**}{The team abbreviation. Should be one of [`valid_team_names()`]. The function tries to clean team names internally by calling [`nflreadr::clean_team_abbrs()`]. Note: `"NFL"`, `"AFC"`, `"NFC"` are valid abbreviations!}
#' \item{**`x`**}{The x-coordinate.}
#' \item{**`y`**}{The y-coordinate.}
#' \item{**`team_abbr`**}{The team abbreviation. Should be one of [`valid_team_names()`]. The function tries to clean team names internally by calling [`nflreadr::clean_team_abbrs()`]. Note: `"NFL"`, `"AFC"`, `"NFC"` are valid abbreviations!}
#' \item{`alpha = NULL`}{The alpha channel, i.e. transparency level, as a numerical value between 0 and 1.}
#' \item{`colour = NULL`}{The image will be colorized with this colour. Use the special character `"b/w"` to set it to black and white. For more information on valid colour names in ggplot2 see <https://ggplot2.tidyverse.org/articles/ggplot2-specs.html?q=colour#colour-and-fill>}
#' \item{`angle = 0`}{The angle of the image as a numerical value between 0° and 360°.}
Expand Down
6 changes: 3 additions & 3 deletions R/geom_nfl_wordmarks.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#' @section Aesthetics:
#' `geom_nfl_logos()` understands the following aesthetics (required aesthetics are in bold):
#' \describe{
#' \item{**x**}{The x-coordinate.}
#' \item{**y**}{The y-coordinate.}
#' \item{**team_abbr**}{The team abbreviation. Should be one of [`valid_team_names()`]. The function tries to clean team names internally by calling [`nflreadr::clean_team_abbrs()`]}
#' \item{**`x`**}{The x-coordinate.}
#' \item{**`y`**}{The y-coordinate.}
#' \item{**`team_abbr`**}{The team abbreviation. Should be one of [`valid_team_names()`]. The function tries to clean team names internally by calling [`nflreadr::clean_team_abbrs()`]}
#' \item{`alpha = NULL`}{The alpha channel, i.e. transparency level, as a numerical value between 0 and 1.}
#' \item{`colour = NULL`}{The image will be colorized with this colour. Use the special character `"b/w"` to set it to black and white. For more information on valid colour names in ggplot2 see <https://ggplot2.tidyverse.org/articles/ggplot2-specs.html?q=colour#colour-and-fill>}
#' \item{`angle = 0`}{The angle of the image as a numerical value between 0° and 360°.}
Expand Down
6 changes: 3 additions & 3 deletions man/geom_from_path.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/geom_lines.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/geom_nfl_headshots.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/geom_nfl_logos.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/geom_nfl_wordmarks.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7882a73

Please sign in to comment.