Skip to content

sampbias

Evaluating Geographic Sampling Bias in Biological Collections

v2.0.0 · Feb 6, 2024 · GPL-3

Description

Evaluating the biasing impact of geographic features such as airports, cities, roads, rivers in datasets of coordinates based biological collection datasets, by Bayesian estimation of the parameters of a Poisson process. Enables also spatial visualization of sampling bias and includes a set of convenience functions for publication level plotting. Also available as 'shiny' app. The reference for the methodology is: Zizka et al. (2020) <doi:10.1111/ecog.05102>.

Downloads

262

Last 30 days

16559th

662

Last 90 days

2.7K

Last year

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

CRAN Check Status

1 ERROR
13 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
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 details (1 non-OK)
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'Possible_warnings_of_sampbias.Rmd' using rmarkdown
--- finished re-building 'Possible_warnings_of_sampbias.Rmd'

--- re-building 'Using_the_samp_bias_rpackage.Rmd' using rmarkdown
! Package pdftex.def Error: File `b3fa20398a48b18b9924fac38ed58f49d830bd4e.png'
 not found: using draft setting.

Error: processing vignette 'Using_the_samp_bias_rpackage.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/sampbias.Rcheck/vign_test/sampbias/vignettes/Using_the_samp_bias_rpackage.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Using_the_samp_bias_rpackage.log for more info.
--- failed re-building 'Using_the_samp_bias_rpackage.Rmd'

SUMMARY: processing the following file failed:
  'Using_the_samp_bias_rpackage.Rmd'

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'Possible_warnings_of_sampbias.Rmd' using rmarkdown
--- finished re-building 'Possible_warnings_of_sampbias.Rmd'

--- re-building 'Using_the_samp_bias_rpackage.Rmd' using rmarkdown
! Package pdftex.d
...[truncated]...
. See Using_the_samp_bias_rpackage.log for more info.
--- failed re-building 'Using_the_samp_bias_rpackage.Rmd'

SUMMARY: processing the following file failed:
  'Using_the_samp_bias_rpackage.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 cowplot dplyr forcats ggplot2 magrittr rlang tidyr viridis terra sf rnaturalearth sampbias

Version History

new 2.0.0 Mar 10, 2026