diff --git a/NAMESPACE b/NAMESPACE index 99891eb..4737c20 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -12,7 +12,7 @@ S3method("errors<-",numeric) S3method(Math,errors) S3method(Ops,errors) S3method(Summary,errors) -S3method(all,equal.errors) +S3method(all.equal,errors) S3method(anyDuplicated,errors) S3method(as.data.frame,errors) S3method(as.errors,default) diff --git a/R/misc.R b/R/misc.R index d067491..429676b 100644 --- a/R/misc.R +++ b/R/misc.R @@ -212,6 +212,7 @@ cbind.errors <- function(..., deparse.level = 1) { #' @export rbind.errors <- cbind.errors +#' @method all.equal errors #' @export all.equal.errors <- function(target, current, ...) { msg <- if (identical(attr(target, "id"), attr(current, "id")))