Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vegan::adonis is deprecated & will be defunct: use vegan::adonis2 #1

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

jarioksa
Copy link
Contributor

Description

Latest vegan release 2.6-6 in CRAN deprecates vegan::adonis in favour of vegan::adonis2, and our plan is to make vegan::adonis defunct in the future releases. Building your betadiversity vignette will give a warning with the latest vegan release and will give an error in the future releases (and already in the development version of vegan in github). The fix is obvious: use vegan::adonis2. The new vegan::adonis2 has slightly different internal structure and instead of three list indices (like [[1]][[6]][[1]]) we now must use only two, and there is one column less (so the previous becomes [[5]][[1]]). NB., your original vignette used wrong index for $R^2$ pointing to the p-value. This is also fixed here.

Related Issue

Example

@adamhsparks adamhsparks self-assigned this May 16, 2024
@adamhsparks adamhsparks merged commit 94f0e60 into openplantpathology:main May 16, 2024
7 checks passed
@adamhsparks
Copy link
Member

Many thanks for letting us know about the change (and fixing our mistake too).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants