We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
S7::method()
1 parent 03157ef commit 2a672a1Copy full SHA for 2a672a1
NAMESPACE
@@ -1,6 +1,5 @@
1
# Generated by roxygen2: do not edit by hand
2
3
-S3method("$","ggplot2::theme")
4
S3method("$",ggproto)
5
S3method("$",ggproto_parent)
6
S3method("[",mapped_discrete)
R/theme.R
@@ -1050,10 +1050,11 @@ combine_s3_elements <- function(e1, e2) {
1050
return(e1)
1051
}
1052
1053
-#' @export
1054
-`$.ggplot2::theme` <- function(x, ...) {
1055
- .subset2(x, ...)
1056
-}
+local({
+ S7::method(`$`, class_theme) <- function(x, ...) {
+ .subset2(x, ...)
+ }
1057
+})
1058
1059
#' @export
1060
`print.ggplot2::theme` <- function(x, ...) utils::str(x)
0 commit comments