Skip to content

Environmental Interpolation using Spatial Kernel Density Estimation

0packages depend
4.1Kdownloads / year
94.8%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.1
  • 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

CRAN checks
13OK
Slowest check: 11.3 min · r-release-macos-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.0.1
READMEYes · 527 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 1.0.1Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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

4.1K
CRAN downloads in the past year
Rank #10,688 · ~11/day · ~341/mo
Daily download trend is not available in this view yet.
35530 days
98090 days
4.1K1 year
Compare downloads with other packages →
Also on70 r2u4 autocran

Repository

2Stars
3Forks
0Open issues
0Open PRs
13Releases
95Commits
4Commit identities
niche-modelingniche-modellingpoint-patternpoint-pattern-analysisprincipal-component-analysisrr-packagerstats
License file reads as Apache-2.0 · 95 commits · Last activity 2025-08-29 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-09-21 · 22026-07-07 · 2
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.1.3 (2020), Copyright holder
Contributor, Thesis advisor
Copyright holder
Releases (13)

Pick two releases to compare their code metrics.

Show 4 earlier eventsHide 4 earlier events

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for envi version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy