Trending

World technology news

→
Archive photograph showing a tree trunk being measured during forest fieldwork.
CRANIn-depth report

spacc 1.0.0 updates R software for spatial species accumulation

Selected presence-based calculations now update incrementally. Reported timings belong to the package’s stated benchmark setups.

·CRAN
Reading progress0%

Release and comparison

CRAN recorded spacc 1.0.0 at 13:50:02 UTC on November 29. CRANberries provides a separate file comparison with 0.11.0. The package notes describe faster calculations in the C++ core and techniques for estimating how diversity changes as a survey covers more sites. The software concerns the analysis of species already observed in survey records. When sites enter a sample in different spatial orders, the result can be a distribution of curves instead of one fixed line.

Space changes the sampling question

An ecologist may want to distinguish a sample that grows from the middle of a valley from one that starts at its edge. A selection constrained by distance asks a different question from random site order. Observing a species at one location gives limited evidence about the rest of the valley. Record the choice of starting points and neighborhood rules. For a small fixture, trace which spatial cell enters at each step under each chosen rule.

What the core avoids recalculating

The notes say that accumulation kernels read the species present at each added site. Some measures update incrementally instead of recalculating over every species. In a presence-only fixture, a site containing only previously observed species leaves richness unchanged. The addition of a new species increases it by one. Check the documented scope of the optimization before extending that interpretation to weighted counts or other measures.

Read the benchmark settings

The package reports that `arc()` point estimation on 2,500 GBIF grid cells took 0.60 milliseconds on average, down from 22 milliseconds, with parallel work and bootstrapping disabled. Another example with 337 species and 2,000 bootstrap repeats reportedly fell from 58 to 7 seconds. These timings refer to different tasks. The separate package diff validates the software release. It does not independently reproduce the performance measurements.

Compare on a fixed survey fixture

Run the same site-by-species table under both versions. Compare point estimates first and save spatial paths and intervals separately. Preserve existing assumptions about sampling effort and location. A faster run cannot provide observations from an area that was never surveyed. Record the grid resolution, taxonomic group, starting points, and spatial rule so timing and statistical results can be compared under the same conditions.

Represent uncertainty in the output

A single average curve can hide divergence between starting areas. Report the distribution alongside individual paths when that distinction matters. Record the version of the spatial file as well so another analyst can re-create the starting areas and confirm that the updated run used identical geographic input. If records span multiple survey dates, retain the date filter. The same number of records can represent different species mixes in different seasons.

Archive photo · Rmmramos / Wikimedia Commons ↗ · CC BY-SA 4.0

Sources and verification
Be the first reader ✎ Write a comment

Reader discussion

Discussion prompt

Which bottleneck would you expect as this solution scales?

No comments yet. Be the first to contribute.

Write a comment

Comments are real visitor contributions. Repeated, link-heavy or abusive submissions may be limited.