Skip to content

Commit

Permalink
Let add_logo example run on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
camille-s committed Feb 7, 2024
1 parent cd53563 commit 035e4b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions R/add_logo.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#' a grob, or to `cowplot::draw_image` otherwise.
#' @return A `ggplot` object.
#' @examples
#' if(interactive()){
#' p <- ggplot2::ggplot(iris, ggplot2::aes(x = Sepal.Length)) +
#' ggplot2::geom_density() +
#' ggplot2::labs(title = "Test chart", caption = "Source: 2019 ACS 5-year estimates")
Expand All @@ -48,7 +47,6 @@
#' ggplot2::theme_void()
#'
#' add_logo(p, gg_logo, width = 0.2, height = 0.1)
#' }
#' @export
#' @rdname add_logo
#' @seealso [magick::image_read()], [cowplot::draw_image()]
Expand Down
2 changes: 1 addition & 1 deletion R/endpoint_lbls.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#' geom_line() +
#' geom_point(size = 3) +
#' geom_text(aes(label = lbl, hjust = just, x = x)) +
#' scale_x_continuous(expand = expansion(add = 3),
#' scale_x_continuous(expand = expansion(add = 3.5),
#' breaks = c(2015, 2021))
#' @export

Expand Down

0 comments on commit 035e4b2

Please sign in to comment.