File tree Expand file tree Collapse file tree 4 files changed +6
-16
lines changed Expand file tree Collapse file tree 4 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 1
1
# Generated by roxygen2: do not edit by hand
2
2
3
+ S3method("$",ggproto)
4
+ S3method("$",ggproto_parent)
5
+ S3method("$",theme)
3
6
S3method("$<-",uneval)
4
7
S3method("+",gg)
5
8
S3method("[",mapped_discrete)
@@ -13,9 +16,6 @@ S3method(as.data.frame,mapped_discrete)
13
16
S3method(as.list,ggproto)
14
17
S3method(autolayer,default)
15
18
S3method(autoplot,default)
16
- S3method(base::`$`, ggproto)
17
- S3method(base::`$`, ggproto_parent)
18
- S3method(base::`$`, theme)
19
19
S3method(c,mapped_discrete)
20
20
S3method(drawDetails,zeroGrob)
21
21
S3method(format,ggproto)
Original file line number Diff line number Diff line change @@ -152,8 +152,7 @@ fetch_ggproto <- function(x, name) {
152
152
153
153
}
154
154
155
- # Prevents bug described in S7/#390
156
- # ' @rawNamespace S3method(base::`$`, ggproto)
155
+ # ' @export
157
156
`$.ggproto` <- function (x , name ) {
158
157
res <- fetch_ggproto(x , name )
159
158
if (! is.function(res )) {
@@ -163,7 +162,7 @@ fetch_ggproto <- function(x, name) {
163
162
make_proto_method(x , res , name )
164
163
}
165
164
166
- # ' @rawNamespace S3method(base::`$`, ggproto_parent)
165
+ # ' @export
167
166
`$.ggproto_parent` <- function (x , name ) {
168
167
res <- fetch_ggproto(.subset2(x , " parent" ), name )
169
168
if (! is.function(res )) {
Original file line number Diff line number Diff line change 83
83
# ' @rdname element
84
84
element <- S7 :: new_class(" element" , abstract = TRUE )
85
85
86
- S7 :: method(`$` , element ) <-
87
- function (x , i ) {
88
- if (! S7 :: prop_exists(x , i )) {
89
- return (NULL )
90
- }
91
- S7 :: prop(x , i )
92
- }
93
-
94
86
# ' @export
95
87
# ' @rdname element
96
88
element_blank <- S7 :: new_class(" element_blank" , parent = element )
Original file line number Diff line number Diff line change @@ -958,8 +958,7 @@ combine_elements <- function(e1, e2) {
958
958
e1
959
959
}
960
960
961
- # Prevents bug described in S7/#390
962
- # ' @rawNamespace S3method(base::`$`, theme)
961
+ # ' @export
963
962
`$.theme` <- function (x , ... ) {
964
963
.subset2(x , ... )
965
964
}
You can’t perform that action at this time.
0 commit comments