From 08a4b5a8498b7a53ad45174654bfb729b3e2c11d Mon Sep 17 00:00:00 2001 From: Laura Date: Tue, 25 Jun 2024 23:35:13 +0200 Subject: [PATCH] fix missing return tag --- R/scales.R | 2 ++ man/lgbtq-scales.Rd | 3 +++ 2 files changed, 5 insertions(+) diff --git a/R/scales.R b/R/scales.R index d7a08bd..135ac0a 100644 --- a/R/scales.R +++ b/R/scales.R @@ -9,6 +9,8 @@ #' @param ... `ANY` \cr #' Arguments passed to [ggplot2::scale_color_manual()]. #' +#' @return A scale to be used with a \pkg{ggplot2} object. +#' #' @examples #' data <- data.frame( #' x = 1:10, y = 15:6, diff --git a/man/lgbtq-scales.Rd b/man/lgbtq-scales.Rd index 63db978..c2c7a0d 100644 --- a/man/lgbtq-scales.Rd +++ b/man/lgbtq-scales.Rd @@ -20,6 +20,9 @@ Name of the flag the colors are based on.} \item{...}{\code{ANY} \cr Arguments passed to \code{\link[ggplot2:scale_manual]{ggplot2::scale_color_manual()}}.} } +\value{ +A scale to be used with a \pkg{ggplot2} object. +} \description{ These functions provide a shorthand for passing \code{\link[=palette_lgbtq]{palette_lgbtq()}} to \code{values} parameter of an appropriate ggplot2 scale.