Skip to content

Commit

Permalink
need to change anova.ccalist -> anovaCCAlist to skip warnings
Browse files Browse the repository at this point in the history
CRAN check gave "Mismatches for apparent methods not registered",
see similar commit 49c86a3
  • Loading branch information
jarioksa committed May 3, 2024
1 parent 6039e6d commit f6a0301
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/anova.cca.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
control <- attr(permutations, "control")
## see if this was a list of ordination objects
dotargs <- list(...)
## we do not want to give dotargs to anova.ccalist, but we
## we do not want to give dotargs to anovaCCAlist, but we
## evaluate 'parallel' and 'model' here
if (length(dotargs)) {
isCCA <- sapply(dotargs, function(z) inherits(z, "cca"))
if (any(isCCA)) {
dotargs <- dotargs[isCCA]
object <- c(list(object), dotargs)
sol <-
anova.ccalist(object,
anovaCCAlist(object,
permutations = permutations,
model = model,
parallel = parallel)
Expand Down
2 changes: 1 addition & 1 deletion R/anova.ccalist.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
`anova.ccalist` <-
`anovaCCAlist` <-
function(object, permutations, model, parallel)
{
EPS <- sqrt(.Machine$double.eps)
Expand Down

0 comments on commit f6a0301

Please sign in to comment.