Skip to content

Commit

Permalink
nobody believes that adonis is deprecated: yield to public pressure
Browse files Browse the repository at this point in the history
Discussed in github issue #523. Step 1 is to keep here 2.6-2
behaviour and print a message.
  • Loading branch information
jarioksa committed Sep 28, 2022
1 parent c962015 commit 510c475
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/adonis-deprecated.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
contr.unordered="contr.sum", contr.ordered="contr.poly",
parallel = getOption("mc.cores"), ...)
{
.Deprecated("adonis2", package="vegan")
## nobodody seems to believe that adonis is deprecated: give up
## .Deprecated("adonis2", package="vegan")
message("'adonis' will be deprecated: use 'adonis2' instead")
EPS <- sqrt(.Machine$double.eps) ## use with >= in permutation P-values
## formula is model formula such as Y ~ A + B*C where Y is a data
## frame or a matrix, and A, B, and C may be factors or continuous
Expand Down

0 comments on commit 510c475

Please sign in to comment.