Skip to content

Commit 58b0b5b

Browse files
committed
document ...
1 parent 5eb0f1c commit 58b0b5b

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

R/theme-sub.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#' keeping theme declarations more organised.
66
#'
77
#' @eval subtheme_param_doc()
8+
#' @param ... Not in use, expected to be empty.
89
#'
910
#' @return A `theme`-class object that can be added to a plot.
1011
#' @name subtheme
@@ -162,6 +163,7 @@ subtheme_param_doc <- function() {
162163
theme_sub_panel, theme_sub_plot, theme_sub_strip
163164
)
164165
args <- sort(unique(unlist(lapply(funs, fn_fmls_names), use.names = FALSE)))
166+
args <- setdiff(args, "...")
165167
paste0(
166168
"@param ",
167169
paste0(args, collapse = ","),

man/subtheme.Rd

Lines changed: 29 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)