Skip to content

Commit 2aae5ce

Browse files
committed
fix: rename S7 theme to class_theme
1 parent 98370d0 commit 2aae5ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

NAMESPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Generated by roxygen2: do not edit by hand
22

3+
S3method("$","ggplot2::class_theme")
34
S3method("$","ggplot2::element")
45
S3method("$","ggplot2::gg")
5-
S3method("$","ggplot2::theme")
66
S3method("$",ggproto)
77
S3method("$",ggproto_parent)
88
S3method("$<-","ggplot2::element")
@@ -92,9 +92,9 @@ S3method(predictdf,default)
9292
S3method(predictdf,glm)
9393
S3method(predictdf,locfit)
9494
S3method(predictdf,loess)
95+
S3method(print,"ggplot2::class_theme")
9596
S3method(print,"ggplot2::ggplot")
9697
S3method(print,"ggplot2::mapping")
97-
S3method(print,"ggplot2::theme")
9898
S3method(print,element)
9999
S3method(print,ggplot2_bins)
100100
S3method(print,ggproto)

R/theme.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,9 +1051,9 @@ combine_s3_elements <- function(e1, e2) {
10511051
}
10521052

10531053
#' @export
1054-
`$.ggplot2::theme` <- function(x, ...) {
1054+
`$.ggplot2::class_theme` <- function(x, ...) {
10551055
.subset2(x, ...)
10561056
}
10571057

10581058
#' @export
1059-
`print.ggplot2::theme` <- function(x, ...) utils::str(x)
1059+
`print.ggplot2::class_theme` <- function(x, ...) utils::str(x)

0 commit comments

Comments
 (0)