From 630dbea8289dba56c415eb38a3caa8ad0b776642 Mon Sep 17 00:00:00 2001 From: Teun van den Brand Date: Mon, 26 May 2025 09:34:42 +0200 Subject: [PATCH] methods for S7 classes --- NAMESPACE | 2 ++ R/arithmetic.R | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index 00434f0..0982562 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,6 +1,8 @@ # Generated by roxygen2: do not edit by hand +S3method("&","ggplot2::gg") S3method("&",gg) +S3method("*","ggplot2::gg") S3method("*",gg) S3method("-",ggplot) S3method("/",ggplot) diff --git a/R/arithmetic.R b/R/arithmetic.R index b0434b5..084cbed 100644 --- a/R/arithmetic.R +++ b/R/arithmetic.R @@ -141,3 +141,9 @@ NULL } e1 + e2 } + +#' @export +"*.ggplot2::gg" <- `*.gg` + +#' @export +"&.ggplot2::gg" <- `&.gg`