From b5baa2ec2ef0c79ffc9d62b145f0b38bb73ea1d7 Mon Sep 17 00:00:00 2001 From: Thomas Lin Pedersen Date: Thu, 2 May 2024 09:01:17 +0200 Subject: [PATCH] document GeomMarquee --- R/geom_marquee.R | 8 ++++++++ man/GeomMarquee.Rd | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 man/GeomMarquee.Rd diff --git a/R/geom_marquee.R b/R/geom_marquee.R index f1078bb..76281f9 100644 --- a/R/geom_marquee.R +++ b/R/geom_marquee.R @@ -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() { diff --git a/man/GeomMarquee.Rd b/man/GeomMarquee.Rd new file mode 100644 index 0000000..5f537f2 --- /dev/null +++ b/man/GeomMarquee.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/geom_marquee.R +\docType{data} +\name{GeomMarquee} +\alias{GeomMarquee} +\title{Geom class for geom_marquee} +\format{ +An object of class \code{environment} of length 1. +} +\usage{ +GeomMarquee +} +\description{ +This environment contains the Geom needed for \code{\link[=geom_marquee]{geom_marquee()}} in the \code{geom} +variable. It is set up like this to avoid ggplot2 to be a hard dependency of +marquee +} +\keyword{internal}