From 230a2113b3aed911a838e8be8f57a2dc724fbac9 Mon Sep 17 00:00:00 2001 From: olivroy <52606734+olivroy@users.noreply.github.com> Date: Thu, 21 Mar 2024 09:24:16 -0400 Subject: [PATCH 1/3] Update theme.R --- R/theme.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/theme.R b/R/theme.R index 62ac55f3c6..4df2be15c8 100644 --- a/R/theme.R +++ b/R/theme.R @@ -194,7 +194,7 @@ #' switched (`unit`) #' #' @param ... additional element specifications not part of base ggplot2. In general, -#' these should also be defined in the `element tree` argument. +#' these should also be defined in the `element tree` argument. A list is also supported. #' @param complete set this to `TRUE` if this is a complete theme, such as #' the one returned by [theme_grey()]. Complete themes behave #' differently when added to a ggplot object. Also, when setting From 9486809720a87281ec2290a7e9ae4da80c173da4 Mon Sep 17 00:00:00 2001 From: olivroy <52606734+olivroy@users.noreply.github.com> Date: Thu, 21 Mar 2024 09:51:22 -0400 Subject: [PATCH 2/3] Update R/theme.R Co-authored-by: Teun van den Brand <49372158+teunbrand@users.noreply.github.com> --- R/theme.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/theme.R b/R/theme.R index 4df2be15c8..5f0589c0bc 100644 --- a/R/theme.R +++ b/R/theme.R @@ -194,7 +194,7 @@ #' switched (`unit`) #' #' @param ... additional element specifications not part of base ggplot2. In general, -#' these should also be defined in the `element tree` argument. A list is also supported. +#' these should also be defined in the `element tree` argument. [Splicing][rlang::splice] a list is also supported. #' @param complete set this to `TRUE` if this is a complete theme, such as #' the one returned by [theme_grey()]. Complete themes behave #' differently when added to a ggplot object. Also, when setting From 2d789d35ed2a2700687fbff3f220f82695f90573 Mon Sep 17 00:00:00 2001 From: Olivier Roy Date: Thu, 21 Mar 2024 10:11:49 -0400 Subject: [PATCH 3/3] document() --- man/theme.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/theme.Rd b/man/theme.Rd index 2709251fab..907edac835 100644 --- a/man/theme.Rd +++ b/man/theme.Rd @@ -148,7 +148,7 @@ theme( } \arguments{ \item{...}{additional element specifications not part of base ggplot2. In general, -these should also be defined in the \verb{element tree} argument.} +these should also be defined in the \verb{element tree} argument. \link[rlang:splice]{Splicing} a list is also supported.} \item{line}{all line elements (\code{\link[=element_line]{element_line()}})}