Skip to content

divvy

Spatial Subsampling of Biodiversity Occurrence Data

v1.0.1 · Apr 13, 2025 · GPL (>= 3)

Description

Divide taxonomic occurrence data into geographic regions of fair comparison, with three customisable methods to standardise area and extent. Calculate common biodiversity and range-size metrics on subsampled data. Background theory and practical considerations for the methods are described in Antell and others (2024) <doi:10.1017/pab.2023.36>.

Downloads

CRAN

529

Last 30 days

6908th

1.6K

Last 90 days

6.8K

Last year

Trend: +1.5% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

26

Last 90 days

140

Last year

Trend: -90% (30d vs prior 30d)

autoCRAN

8

Last 7 days

20

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 17, 2026
ERROR 10 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE May 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘divvy-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bandit
> ### Title: Rarefy localities within latitudinal bands
> ### Aliases: bandit
> 
> ### ** Example
...[truncated]...
(bivalves)
> 
> # initialise Equal Earth projected coordinates
> rWorld <- rast()
> prj <- 'EPSG:8857'
> rPrj <- project(rWorld, prj, res = 200000) # 200,000m is approximately 2 degrees
Error: [write] unknown option(s): xscale,yscale
Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

examples

Running examples in ‘divvy-Ex.R’ failed
The error most likely occurred in:

> ### Name: bandit
> ### Title: Rarefy localities within latitudinal bands
> ### Aliases: bandit
> 
> ### ** Examples
> 
> # load bivalve occurrences to rasterise
> library(t
...[truncated]...
(bivalves)
> 
> # initialise Equal Earth projected coordinates
> rWorld <- rast()
> prj <- 'EPSG:8857'
> rPrj <- project(rWorld, prj, res = 200000) # 200,000m is approximately 2 degrees
Error: [write] unknown option(s): xscale,yscale
Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

examples

Running examples in ‘divvy-Ex.R’ failed
The error most likely occurred in:

> ### Name: bandit
> ### Title: Rarefy localities within latitudinal bands
> ### Aliases: bandit
> 
> ### ** Examples
> 
> # load bivalve occurrences to rasterise
> library(t
...[truncated]...
(bivalves)
> 
> # initialise Equal Earth projected coordinates
> rWorld <- rast()
> prj <- 'EPSG:8857'
> rPrj <- project(rWorld, prj, res = 200000) # 200,000m is approximately 2 degrees
Error: [write] unknown option(s): xscale,yscale
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 28, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 24, 2026
ERROR r-devel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'habitat-rangesize-case-study.Rmd' using rmarkdown
--- finished re-building 'habitat-rangesize-case-study.Rmd'

--- re-building 'subsampling-vignette.Rmd' using rmarkdown
SUMMARY: processing the following file failed:
  'subsampling-vignette.Rmd'

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 16, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 13, 2026
ERROR r-release-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'habitat-rangesize-case-study.Rmd' using rmarkdown
--- finished re-building 'habitat-rangesize-case-study.Rmd'

--- re-building 'subsampling-vignette.Rmd' using rmarkdown
SUMMARY: processing the following file failed:
  'subsampling-vignette.Rmd'

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 30, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 28, 2026
ERROR r-release-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'habitat-rangesize-case-study.Rmd' using rmarkdown
--- finished re-building 'habitat-rangesize-case-study.Rmd'

--- re-building 'subsampling-vignette.Rmd' using rmarkdown
SUMMARY: processing the following file failed:
  'subsampling-vignette.Rmd'

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies iNEXT Rdpack sf terra units vegan divvy

Version History

3 tracked
new 1.0.1 Mar 10, 2026
updated 1.0.1 ← 1.0.0 diff Apr 13, 2025
new 1.0.0 Oct 25, 2023