This is an automated email from the ASF dual-hosted git repository.
jonkeane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new ced400eddf MINOR: [R] Fix all.equal registration (#49481)
ced400eddf is described below
commit ced400eddf21d6be98e74fa716f5228e0c9913c2
Author: Michael Chirico <[email protected]>
AuthorDate: Wed Mar 11 07:14:22 2026 -0700
MINOR: [R] Fix all.equal registration (#49481)
This is due to https://github.com/r-lib/roxygen2/issues/1587.
It will go away when {roxygen2} is next released, but offering a
proactive fix anyway.
---
r/NAMESPACE | 2 +-
r/R/arrow-object.R | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/r/NAMESPACE b/r/NAMESPACE
index cdeb27c406..9dbbad9c45 100644
--- a/r/NAMESPACE
+++ b/r/NAMESPACE
@@ -26,7 +26,7 @@ S3method(Math,ArrowDatum)
S3method(Ops,ArrowDatum)
S3method(Ops,Expression)
S3method(all,ArrowDatum)
-S3method(all,equal.ArrowObject)
+S3method(all.equal,ArrowObject)
S3method(any,ArrowDatum)
S3method(as.character,ArrowDatum)
S3method(as.character,FileFormat)
diff --git a/r/R/arrow-object.R b/r/R/arrow-object.R
index 2f970c87ed..c9cd0b98c7 100644
--- a/r/R/arrow-object.R
+++ b/r/R/arrow-object.R
@@ -73,6 +73,7 @@ ArrowObject <- R6Class(
x$Equals(y)
}
+#' @method all.equal ArrowObject
#' @export
all.equal.ArrowObject <- function(target, current, ..., check.attributes =
TRUE) {
target$Equals(current, check_metadata = check.attributes)