Skip to content

Commit

Permalink
document GeomMarquee
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed May 2, 2024
1 parent 32f5c8e commit b5baa2e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions R/geom_marquee.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,15 @@ geom_marquee <- function(mapping = NULL, data = NULL, stat = "identity",
)
}

#' Geom class for geom_marquee
#'
#' This environment contains the Geom needed for [geom_marquee()] in the `geom`
#' variable. It is set up like this to avoid ggplot2 to be a hard dependency of
#' marquee
#'
#' @export
#'
#' @keywords internal
GeomMarquee <- new_environment(list(geom = NULL))

make_marquee_geom <- function() {
Expand Down
18 changes: 18 additions & 0 deletions man/GeomMarquee.Rd

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

0 comments on commit b5baa2e

Please sign in to comment.