Environmental Interpolation using Spatial Kernel Density Estimation
Overview
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.
- Fixed Rd
\link{}targets missing package in 'envi-package.Rd' and 'lrren.Rd' - Updated vignette with updated package version and dependencies
as.im.SpatRaster()no longer in 'utils.R'; placed within vignette
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-23
Show 6 earlier changesHide 6 earlier changes
- ERROR12 OK, 1 ERROR2026-05-22
- OK14 OK2026-04-18
- ERROR13 OK, 1 ERROR2026-04-16
- OK14 OK2026-03-25
- ERROR13 OK, 1 ERROR2026-03-21
- OK14 OK2026-03-10
Documentation
- Help pages
- 10 (3 internal)includes a package overview page
- Examples that run
- 100%6 run in a plain check (6 of them under a condition)
- Exported functions with examples
- 86%
- Documented parameters
- 96%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 5
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/lance-waller-lab/envi on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing envi adds 57 packages (33 with compiled code, 59 MB of source tarballs). Heaviest: sf 9.3 MB, data.table 5.7 MB, gplots 4.6 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.1Latest
- RR 4.5.0 released · 2025-04-11
- 1.0.02024-11-06 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.1.192024-01-23 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.1.172023-02-02 · diff ↗
- 0.1.152022-08-30 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.1.132022-03-24 · diff ↗
- 0.1.112022-02-05 · diff ↗
- 0.1.102021-08-02 · diff ↗
- 0.1.92021-07-16 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.1.82021-03-15 · diff ↗
Package metadata
- First published
- 2020-12-22
- Total releases
- 13 / 6 yrs
- License
- Apache License (>= 2.0)
- Minimum R
- ≥ 3.5.0
- Download size
- 526 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("envi")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1016/j.sste.2024.100696, 10.32614/cran.package.envi.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.