Skip to content

ENMeval

Automated Tuning and Evaluations of Ecological Niche Models

v2.0.5.2 · May 1, 2025 · GPL-3

Description

Runs ecological niche models over all combinations of user-defined settings (i.e., tuning), performs cross validation to evaluate models, and returns data tables to aid in selection of optimal model settings that balance goodness-of-fit and model complexity. Also has functions to partition data spatially (or not) for cross validation, to plot multiple visualizations of results, to run null models to estimate significance and effect sizes of performance metrics, and to calculate range overlap between model predictions, among others. The package was originally built for Maxent models (Phillips et al. 2006, Phillips et al. 2017), but the current version allows possible extensions for any modeling algorithm. The extensive vignette, which guides users through most package functionality but unfortunately has a file size too big for CRAN, can be found here on the package's Github Pages website: <https://jamiemkass.github.io/ENMeval/articles/ENMeval-2.0-vignette.html>.

Downloads

5.1K

Last 30 days

1733rd

15.5K

Last 90 days

65.9K

Last year

Trend: -3.4% (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: ‘rangeModelMetadata’

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

tests

Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "") 
  > library(testthat)
  > library(ENMeval)
  This is ENMeval version 2.0.5.2. 
  For worked examples, please consult the vignette: <https://jamiemkass.github.io/ENMeval/articles/ENMeval-2.0-vignette.html>.
  > 
  > testthat::test_check("ENMeval")
  
   *** caught illegal operation ***
  address 0x1064bef78, cause 'illegal trap'
  
  Traceback:
   1: rJava::.jcall(mxe, "S", "fit", c("autorun", "-e", afn, "-o",     dirout, "-s", pfn, args), rJava::.jarray(factors))
   2: .local(x, p, ...)
   3: (new("standardGeneric", .Data = function (x, p, ...) standardGeneric("MaxEnt"), generic = "MaxEnt", package = "predicts",     group = list(), valueClass = character(0), signature = c("x",     "p"), default = NULL, skeleton = (function (x, p, ...)     stop(gettextf("invalid call in method dispatch to '%s' (no default method)",         "MaxEnt"), domain = NA))(x, p, ...)))(x 
...[truncated]...
sage(cnd), "\n")    NULL})
  27: with_reporter(reporters$multi, lapply(test_paths, test_one_file,     env = env, desc = desc, shuffle = shuffle, error_call = error_call))
  28: test_files_serial(test_dir = test_dir, test_package = test_package,     test_paths = test_paths, load_helpers = load_helpers, reporter = reporter,     env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     desc = desc, load_package = load_package, shuffle = shuffle,     error_call = error_call)
  29: test_files(test_dir = path, test_paths = test_paths, test_package = package,     reporter = reporter, load_helpers = load_helpers, env = env,     stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     load_package = load_package, parallel = parallel, shuffle = shuffle)
  30: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  31: testthat::test_check("ENMeval")
  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: ‘rangeModelMetadata’

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

tests

Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "") 
  > library(testthat)
  > library(ENMeval)
  This is ENMeval version 2.0.5.2. 
  For worked examples, please consult the vig
...[truncated]...
ackage, parallel = parallel, shuffle = shuffle)
  30: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  31: testthat::test_check("ENMeval")
  An irrecoverable exception occurred. R is aborting now ...

Reverse Dependencies (4)

imports

Dependency Network

Dependencies Reverse dependencies terra maxnet predicts foreach dplyr tidyr ggplot2 glmnet rangeModelMetadata rlang ENMTools BiodiversityR biomod2 confcons ENMeval

Version History

new 2.0.5.2 Mar 10, 2026
updated 2.0.5.2 ← 2.0.5.1 diff Apr 30, 2025
updated 2.0.5.1 ← 2.0.5 diff Apr 29, 2025
updated 2.0.5 ← 2.0.4 diff Feb 10, 2025
updated 2.0.4 ← 2.0.3 diff Jan 8, 2023
updated 2.0.3 ← 2.0.2 diff Jan 9, 2022
updated 2.0.2 ← 2.0.1 diff Dec 12, 2021
updated 2.0.1 ← 2.0.0 diff Jun 11, 2021
updated 2.0.0 ← 0.3.1 diff May 18, 2021
updated 0.3.1 ← 0.3.0 diff Sep 11, 2020
updated 0.3.0 ← 0.2.2 diff Aug 14, 2018
updated 0.2.2 ← 0.2.1 diff Jan 9, 2017
updated 0.2.1 ← 0.2.0 diff Jan 3, 2016
updated 0.2.0 ← 0.1.1 diff Sep 10, 2015
updated 0.1.1 ← 0.1.0 diff Oct 4, 2014
new 0.1.0 Aug 25, 2014