envi
Environmental Interpolation using Spatial Kernel Density Estimation
Description
Estimates an ecological niche using occurrence data, covariates, and kernel density-based estimation methods. For a single species with presence and absence data, the 'envi' package uses the spatial relative risk function that is estimated using the 'sparr' package. Details about the 'sparr' package methods can be found in the tutorial: Davies et al. (2018) <doi:10.1002/sim.7577>. Details about kernel density estimation can be found in J. F. Bithell (1990) <doi:10.1002/sim.4780090616>. More information about relative risk functions using kernel density estimation can be found in J. F. Bithell (1991) <doi:10.1002/sim.4780101112>.
Downloads
474
Last 30 days
8179th
1.2K
Last 90 days
5.7K
Last year
Trend: +17.3% (30d vs prior 30d)
CRAN Check Status
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 | 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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 24, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 20, 2026
tests
Running 'spelling.R' [0s]
Running 'testthat.R' [108s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(envi)
Welcome to {envi} version 1.0.1
> help("envi") # for documentation
> citation("e
...[truncated]...
the
> ## 'tcltk' package is loaded on macOS, or when running in the RStudio Console
> ## [1] https://bugs.r-project.org/bugzilla/show_bug.cgi?id=18119
> options(parallelly.makeNodePSOCK.setup_strategy = "sequential")
>
> test_check("envi")