Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: nflplotR
Title: NFL Logo Plots in 'ggplot2' and 'gt'
Version: 1.5.0.9002
Version: 1.5.0.9003
Authors@R:
person("Sebastian", "Carl", , "[email protected]", role = c("aut", "cre"))
Description: A set of functions to visualize National Football League
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# nflplotR (development version)

* Added new experimental function `gt_pct_bar()`. A helper that adds filled percentage bars to 'gt' table to add context to values. (#76, #77)
* Changed css styling of images in package documentation by CRAN request. (#90)

# nflplotR 1.5.0

Expand Down
8 changes: 4 additions & 4 deletions R/gt_nfl.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' <https://nflplotr.nflverse.com/articles/gt.html>
#' @export
#' @section Output of below example:
#' \if{html}{\figure{logo_tbl.png}{options: width=75\%}}
#' \if{html}{\figure{logo_tbl.png}{options: style="width: 75\%;"}}
#' @examples
#' \donttest{
#' library(gt)
Expand Down Expand Up @@ -89,7 +89,7 @@ gt_nfl_wordmarks <- function(
#' @seealso The player headshot rendering function [gt_nfl_headshots()].
#' @export
#' @section Output of below example:
#' \if{html}{\figure{cols_label.png}{options: width=75\%}}
#' \if{html}{\figure{cols_label.png}{options: style="width: 75\%;"}}
#' @examples
#' \donttest{
#' library(gt)
Expand Down Expand Up @@ -244,7 +244,7 @@ get_image_uri <- function(team_abbr, type = c("logo", "wordmark")) {
#' [gt_nfl_wordmarks()].
#' @export
#' @section Output of below example:
#' \if{html}{\figure{headshot_tbl.png}{options: width=50\%}}
#' \if{html}{\figure{headshot_tbl.png}{options: style="width: 50\%;"}}
#' @examples
#' \donttest{
#' library(nflplotR)
Expand Down Expand Up @@ -460,7 +460,7 @@ gt_render_image <- function(gt_tbl, ...) {
#' @returns An object of class `gt_tbl`.
#' @export
#' @section Output of below example:
#' \if{html}{\figure{pct_tbl.png}{options: width=66\%}}
#' \if{html}{\figure{pct_tbl.png}{options: style="width: 66\%;"}}
#' @examples
#' library(data.table)
#'
Expand Down
2 changes: 1 addition & 1 deletion man/gt_nfl_cols_label.Rd

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

2 changes: 1 addition & 1 deletion man/gt_nfl_headshots.Rd

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

2 changes: 1 addition & 1 deletion man/gt_nfl_logos.Rd

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

2 changes: 1 addition & 1 deletion man/gt_pct_bar.Rd

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