Skip to content

Commit fb9b413

Browse files
committed
Added gg class to labs(). Fixes #5553.
1 parent 7572d09 commit fb9b413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/labels.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ labs <- function(..., title = waiver(), subtitle = waiver(), caption = waiver(),
139139
args <- args[!duplicated(names(args))]
140140
args <- rename_aes(args)
141141

142-
structure(args, class = "labels")
142+
structure(args, class = c("labels", "gg"))
143143
}
144144

145145
#' @rdname labs

0 commit comments

Comments
 (0)