Skip to content

Commit

Permalink
call NextMethod with no arguments; seems to fix #685 and allo1 optimi…
Browse files Browse the repository at this point in the history
…ze to work from very limited testing

!
  • Loading branch information
gavinsimpson committed Aug 28, 2024
1 parent cafdc03 commit d6fe8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.cca.R
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,5 @@
if (!("CA" %in% names(x)))
stop(gettextf("%s is not a vegan rda object",
sQuote(deparse(substitute(x)))))
plot.cca(x, ...)
NextMethod() # no need to pass ..., happens automagically
}

0 comments on commit d6fe8c2

Please sign in to comment.