Skip to content

Commit 797fdc8

Browse files
authored
methods for S7 classes (#430)
1 parent b4c1604 commit 797fdc8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

NAMESPACE

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

3+
S3method("&","ggplot2::gg")
34
S3method("&",gg)
5+
S3method("*","ggplot2::gg")
46
S3method("*",gg)
57
S3method("-",ggplot)
68
S3method("/",ggplot)

R/arithmetic.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,9 @@ NULL
141141
}
142142
e1 + e2
143143
}
144+
145+
#' @export
146+
"*.ggplot2::gg" <- `*.gg`
147+
148+
#' @export
149+
"&.ggplot2::gg" <- `&.gg`

0 commit comments

Comments
 (0)