Skip to content

ENMTools

Analysis of Niche Evolution using Niche and Distribution Models

v1.1.5 · Jul 21, 2025 · GPL-2

Description

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>.

Downloads

1K

Last 30 days

3781st

2.3K

Last 90 days

28.9K

Last year

Trend: +46% (30d vs prior 30d)

CRAN Check Status

2 ERROR
12 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 ERROR
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 ERROR
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
ERROR r-devel-macos-arm64

package dependencies

Package required but not available: ‘ENMeval’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-release-macos-arm64

examples

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 ...

Check History

ERROR 12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-macos-arm64

package dependencies

Package required but not available: ‘ENMeval’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-release-macos-arm64

examples

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.max
...[truncated]...
.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 ...

Dependency Network

Dependencies Reverse dependencies dismo knitr ggplot2 gridExtra lhs magrittr ENMeval spatstat.geom spatstat.random ggpubr forcats terra raster ENMTools

Version History

new 1.1.5 Mar 10, 2026
updated 1.1.5 ← 1.1.4 diff Jul 21, 2025
updated 1.1.4 ← 1.1.2 diff Jul 13, 2025
updated 1.1.2 ← 1.1.1 diff Jan 15, 2024
updated 1.1.1 ← 1.1.0 diff Apr 10, 2023
updated 1.1.0 ← 1.0.7 diff Mar 14, 2023
updated 1.0.7 ← 1.0.6 diff Nov 21, 2022
updated 1.0.6 ← 1.0.5 diff Feb 21, 2022
updated 1.0.5 ← 1.0.4 diff Jun 24, 2021
updated 1.0.4 ← 1.0.3 diff May 6, 2021
updated 1.0.3 ← 1.0.2 diff Apr 1, 2021
updated 1.0.2 ← 1.0.1 diff Nov 19, 2020
updated 1.0.1 ← 1.0 diff Aug 27, 2020
new 1.0 Jul 28, 2020