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 11# Generated by roxygen2: do not edit by hand
22
3+ S3method("$",ggproto)
4+ S3method("$",ggproto_parent)
5+ S3method("$",theme)
36S3method("$<-",uneval)
47S3method("+",gg)
58S3method("[",mapped_discrete)
@@ -13,9 +16,6 @@ S3method(as.data.frame,mapped_discrete)
1316S3method(as.list,ggproto)
1417S3method(autolayer,default)
1518S3method(autoplot,default)
16- S3method(base::`$`, ggproto)
17- S3method(base::`$`, ggproto_parent)
18- S3method(base::`$`, theme)
1919S3method(c,mapped_discrete)
2020S3method(drawDetails,zeroGrob)
2121S3method(format,ggproto)
Original file line number Diff line number Diff line change @@ -152,8 +152,7 @@ fetch_ggproto <- function(x, name) {
152152
153153}
154154
155- # Prevents bug described in S7/#390
156- # ' @rawNamespace S3method(base::`$`, ggproto)
155+ # ' @export
157156`$.ggproto` <- function (x , name ) {
158157 res <- fetch_ggproto(x , name )
159158 if (! is.function(res )) {
@@ -163,7 +162,7 @@ fetch_ggproto <- function(x, name) {
163162 make_proto_method(x , res , name )
164163}
165164
166- # ' @rawNamespace S3method(base::`$`, ggproto_parent)
165+ # ' @export
167166`$.ggproto_parent` <- function (x , name ) {
168167 res <- fetch_ggproto(.subset2(x , " parent" ), name )
169168 if (! is.function(res )) {
Original file line number Diff line number Diff line change 8383# ' @rdname element
8484element <- S7 :: new_class(" element" , abstract = TRUE )
8585
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-
9486# ' @export
9587# ' @rdname element
9688element_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) {
958958 e1
959959}
960960
961- # Prevents bug described in S7/#390
962- # ' @rawNamespace S3method(base::`$`, theme)
961+ # ' @export
963962`$.theme` <- function (x , ... ) {
964963 .subset2(x , ... )
965964}
You can’t perform that action at this time.
0 commit comments