Analysis of Niche Evolution using Niche and Distribution Models
Overview
Constructing niche models and analyzing patterns of niche evolution. Acts as an interface for many popular modeling algorithms, and allows users to conduct Monte Carlo tests to address basic questions in evolutionary ecology and biogeography. Warren, D.L., R.E. Glor, and M. Turelli (2008) doi:10.1111/j.1558-5646.2008.00482.x Glor, R.E., and D.L. Warren (2011) doi:10.1111/j.1558-5646.2010.01177.x Warren, D.L., R.E. Glor, and M. Turelli (2010) doi:10.1111/j.1600-0587.2009.06142.x Cardillo, M., and D.L. Warren (2016) doi:10.1111/geb.12455 D.L. Warren, L.J. Beaumont, R. Dinnage, and J.B. Baumgartner (2019) doi:10.1111/ecog.03900.
Bug Fixes
- Fixing error with previous upload
From NEWS.md in the release
Install
Health
ERRORexamplesr-oldrel-macos-arm64
Running examples in ‘ENMTools-Ex.R’ failed
The error most likely occurred in:
> ### Name: enmtools.maxent
> ### Title: Takes an emtools.species object with presence and background
> ### points, and builds a maxent model
> ### Aliases: enmtools.maxent
>
> ### ** Examples
>
> if(check.extras("enmtools.maxent")) {
+ ## maxent is not working on some platforms so use try()
+ try(enmtools.maxent(iberolacerta.clade$species$monticola, env = euro.worldclim))
+ }
*** caught illegal operation ***
address 0x1065f2f78, cause 'illegal trap'
Traceback:
1: rJava::.jcall(mxe, "S", "fit", c("autorun", "-e", afn, "-o", dirout, "-s", pfn, args))
2: .local(x, p, ...)
3: maxent(x, p, ...)
4: maxent(x, p, ...)
5: .local(x, p, ...)
6: dismo::maxent(raster::stack(env), p = analysis.df[analysis.df$presence == 1, 1:2], a = analysis.df[analysis.df$presence == 0, 1:2], ...)
7: dismo::maxent(raster::stack(env), p = analysis.df[analysis.df$presence == 1, 1:2], a = analysis.df[a
...[truncated]...
if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call, nlines = 1L) prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && isTRUE(getOption("show.error.messages"))) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))})
15: try(enmtools.maxent(iberolacerta.clade$species$monticola, env = euro.worldclim))
An irrecoverable exception occurred. R is aborting now ...- ERROR12 OK, 1 ERRORNow
- ERROR12 OK, 2 ERROR2026-03-10
Documentation
- Help pages
- 71
- Examples that run
- 49%25 run in a plain check · 26 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 75%
- Documented parameters
- 100%
- Return-value docs
- 97%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 85%
- Median days to close, 50 most recently updated closed issues
- 40
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/danlwarren/enmtools on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-06-04Seen in the repository: CLAUDE.mdNamed in .gitignore: CLAUDE.md
Dependencies
Installing ENMTools adds 199 packages (99 with compiled code, 165 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.
Code & Tests
People & History
Show 7 peopleHide 7 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.1.5Latest
- 1.1.42025-07-14 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2024-01-16
- 1.1.22024-01-16 · diff ↗
- archivedRemoved from CRAN2023-08-10issues were not corrected in time
- RR 4.3.0 released · 2023-04-21
- 1.1.12023-04-11 · diff ↗
- unarchivedReturned to CRAN2023-03-15
- 1.1.02023-03-15 · diff ↗ ·
added 10 exports
check.extras, find.extras, find.extras.missing, assert.extras, euro.worldclim, iberolacerta.clade, save.enmtools.species, load.enmtools.species, save.enmtools.clade, load.enmtools.clade - archivedRemoved from CRAN2023-01-10issues were not corrected in time Does not respect user's choice of CRAN mirror Downloads already-installed packages, from US mirror
- unarchivedReturned to CRAN2022-11-22
- 1.0.72022-11-22 · diff ↗
- archivedRemoved from CRAN2022-11-12issues were not corrected in time
Show 12 earlier eventsHide 12 earlier events
Package metadata
- First published
- 2020-07-29
- Total releases
- 13 / 6 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 2.10
- Download size
- 1.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ENMTools")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.