Skip to content

Commit

Permalink
Merge branch 'v2.6-8-released'
Browse files Browse the repository at this point in the history
  • Loading branch information
jarioksa committed Aug 28, 2024
2 parents e477097 + e3c2764 commit 16827e3
Showing 1 changed file with 69 additions and 48 deletions.
117 changes: 69 additions & 48 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# vegan 2.6-7 (in development)
# vegan 2.7-0 (in development)

## Installation

Expand All @@ -22,12 +22,6 @@
The function is still experimental. In particular the user interface
may need development. Comments are welcome.

* Wrappers for the unconstrained ordination methods principal components
analysis (PCA), correspondence anslysis (CA), and principal coordinates
analysis (PCO) are now available via `pca()`, `ca()`, and `pco()`
respectaively. The underlying methods used are `rda()`, `cca()` and `dbrda()`
respectively. See [#655](https://github.com/vegandevs/vegan/issues/655)

## New Features

* `plot.cca` graphics can be configured. `plot.cca` had hard-coded
Expand Down Expand Up @@ -59,9 +53,6 @@
to give a slight preference for putting labels outwards from origin
but avoiding corner positions.

* `rda` and `cca` return centroids for factor levels also when
called without formula, for instance `cca(dune, dune.env)`.

* `vegemite` and `tabasco` can now `use` a factor to show a
classification. The factor levels and sites within levels can be
reordered to give a diagonal pattern, as default in code `tabasco`
Expand All @@ -75,28 +66,80 @@
with enhanced user-control. The function is now based solely on
`abbreviate`.

`* adonis2()` now defaults to running an omnibus test of the model (`by = NULL`)
instead of a sequential test of model terms (`by = "terms"`). This makes
`adonis2()` more consistent with the default for related ordination methods.
See [#677](https://github.com/vegandevs/vegan/issues/677).
## Deprecated and Defunct

* Disabled use of `summary` to get ordination scores: use `scores`!
For `summary.cca` see
[#644](https://github.com/vegandevs/vegan/discussions/644).

* `summary.decorana` is defunct. It did nothing useful, but you can
extract the same information with `scores` and `weights`.

* `orditkplot` code was removed, but we try to launch
`vegan3d::orditkplot` loudly (with a deprecation message to go to
**vegan3d**). _This is experimental, and we may go to direct error,
depending on user experience: please comment!_

* relic function `vegandocs` is officially defunct. Better tools to
read **vegan** documentation are `browseVignettes("vegan")` and
`news(package="vegan")`.

# Changes in version 2.6-8

## New Features

* Wrappers for the unconstrained ordination methods principal components
analysis (PCA), correspondence anslysis (CA), and principal coordinates
analysis (PCO) are now available via `pca()`, `ca()`, and `pco()`
respectively. The underlying methods used are `rda()`, `cca()` and `dbrda()`
respectively. See
[#655](https://github.com/vegandevs/vegan/issues/655).

* The output from the ordination methods `pca()`, `pco()`, `ca()`,
`rda()`, `cca()`, `capscale`, and `dbrda()` has changed slightly to
better separate the results from notifications to the user about
issues encountered with the data or the model. Related to changes in
[#682](https://github.com/vegandevs/vegan/issues/682).

* The constrained ordination functions are now louder at informing users when
one or more terms in a model are aliased (linearly dependent) and their
effects cannot be estimated. See [#682](https://github.com/vegandevs/vegan/issues/682).
effects cannot be estimated. See
[#682](https://github.com/vegandevs/vegan/issues/682).

* The output from the ordination methods `pca()`, `pco()`, `ca()`, `rda()`,
`cca()`, and `dbrda()` has changed slightly to better separate the results
from notifications to the user about issues encountered with the data or the
model. Related to changes in [#682](https://github.com/vegandevs/vegan/issues/682).
* `cca` and `rda` return centroids for factor levels even when they
are called without formula, for instance, as `cca(dune, dune.env)`.

* `plot.cca` retains default graphical settings also when only one set
of scores was displayed.

* `ordiplot` did not pass character size (`cex`) to `plot.cca`. Version
2.7-0 has more extensive changes, but this fixes the immediate issue
[#656](https://github.com/vegandevs/vegan/issues/656).

* `adonis2()` now defaults to running an omnibus test of the model
(`by = NULL`) instead of a sequential test of model terms (`by =
"terms"`). This makes `adonis2()` more consistent with the default
for related ordination methods. See
[#677](https://github.com/vegandevs/vegan/issues/677).

* `decorana` checks now that input data are numeric instead of
confusing error message (see
https://stackoverflow.com/questions/78666646/).

* `make.cepnames` no longer splits names by hyphen: _Capsella
bursa-pastoris_ used to be `Capspast` but now is `Capsburs`.

## Bug Fixes

* `dbrda` failed in rare cases where an ordination component had only
* `dbrda` failed in rare cases when an ordination component had only
negative eigenvalues. Issue
[#670](https://github.com/vegandevs/vegan/issues/670).

* `plot.cca`: `biplot` and `regression` arrows were not drawn and
plots were badly scaled or when they were the only item displayed
* `plot.cca`: biplot or regression arrows were not nicely scaled and
drew no arrows when displayed as the only item in graph.

* `ordipointlabel` failed with `decorana` result. Bounding box for
text could be wrongly estimated with varying values of `cex`.

* `vegdist` with argument `na.rm = TRUE` still failed with missing
values. Dissimilarity methods `"chisq"` (Chi-square distance) and
Expand All @@ -105,9 +148,6 @@
depending on the number and pattern of missing values and
dissimilarity method.

* `ordipointlabel` failed with `decorana` results. Bounding box for
text could be wrongly estimated with varying values of `cex`.

* `decostand` standardization method `"clr"` did not implement
`na.rm = TRUE`
(issue [#661](https://github.com/vegandevs/vegan/issues/661)).
Expand All @@ -116,36 +156,17 @@
`decostand`, but with `na.rm = TRUE` they are ignored when
transforming other data values.

* `metaMDS`: half-change scaling failed when maxdist was not 1.
* `metaMDS`: half-change scaling failed when `maxdist` was fixed, but
was not 1.

* `summary.ordihull` failed if input data were not two-dimensional.

* `decorana` checks now that input data are numeric instead of
confusing error message such as in
(https://stackoverflow.com/questions/78666646/).
* `summary.ordihull` (and hence `ordiareatest` for convex hulls)
failed if input had more than two dimensions.

* `simulate.rda` failed with univariate response.

* `vegemite` returned only the last page of multi-page table in its
(invisible) return object.

## Deprecated and Defunct

* Disabled use of `summary` to get ordination scores: use `scores`!
For `summary.cca` see
[#644](https://github.com/vegandevs/vegan/discussions/644).

* `summary.decorana` is defunct. It did nothing useful, but you can
extract the same information with `scores` and `weights`.

* `orditkplot` code was removed, but we try to launch
`vegan3d::orditkplot` loudly (with a deprecation message to go to
**vegan3d**). _This is experimental, and we may go to direct error,
depending on user experience: please comment!_

* relic function `vegandocs` is officially defunct. Better tools to
read **vegan** documentation are `browseVignettes("vegan")` and
`news(package="vegan")`.

# vegan 2.6-6.1

Expand Down

0 comments on commit 16827e3

Please sign in to comment.