Skip to content

envi

Environmental Interpolation using Spatial Kernel Density Estimation

v1.0.1 · Aug 29, 2025 · Apache License (>= 2.0)

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

14 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 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
ERROR r-release-windows-x86_64

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")
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies concaveman cvAUC doFuture doRNG fields foreach future iterators pls ROCR sf sparr spatstat.geom terra envi

Version History

new 1.0.1 Mar 10, 2026
updated 1.0.1 ← 1.0.0 diff Aug 28, 2025
updated 1.0.0 ← 0.1.19 diff Nov 5, 2024
updated 0.1.19 ← 0.1.17 diff Jan 22, 2024
updated 0.1.17 ← 0.1.15 diff Feb 1, 2023
updated 0.1.15 ← 0.1.13 diff Aug 29, 2022
updated 0.1.13 ← 0.1.11 diff Mar 23, 2022
updated 0.1.11 ← 0.1.10 diff Feb 4, 2022
updated 0.1.10 ← 0.1.9 diff Aug 1, 2021
updated 0.1.9 ← 0.1.8 diff Jul 15, 2021
updated 0.1.8 ← 0.1.7 diff Mar 14, 2021
updated 0.1.7 ← 0.1.6 diff Feb 1, 2021
updated 0.1.6 ← 0.1.3 diff Jan 6, 2021
new 0.1.3 Dec 21, 2020