Skip to content

EWSmethods

Forecasting Tipping Points at the Community Level

v1.3.3 · Mar 30, 2026 · MIT + file LICENSE

Description

Rolling and expanding window approaches to assessing abundance based early warning signals, non-equilibrium resilience measures, and machine learning. See Dakos et al. (2012) <doi:10.1371/journal.pone.0041010>, Deb et al. (2022) <doi:10.1098/rsos.211475>, Drake and Griffen (2010) <doi:10.1038/nature09389>, Ushio et al. (2018) <doi:10.1038/nature25504> and Weinans et al. (2021) <doi:10.1038/s41598-021-87839-y> for methodological details. Graphical presentation of the outputs are also provided for clear and publishable figures. Visit the 'EWSmethods' website for more information, and tutorials.

Downloads

400

Last 30 days

9462nd

878

Last 90 days

2.8K

Last year

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

CRAN Check Status

14 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 OK
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 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 24, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘EWSmethods-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: multiEWS
> ### Title: Multivariate Early Warning Signal Assessment
> ### Aliases: multiEWS
> 
> ###
...[truncated]...
lti_spp_data,
+  method = "rolling",
+  winsize = 50)
Error in ar.ols(data[i:(i + winsize_true - 1), x], aic = FALSE, order.max = 1,  : 
  non-conformable arguments
Calls: multiEWS -> wMAF -> mean -> sapply -> lapply -> FUN -> ar.ols
Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

examples

Running examples in ‘EWSmethods-Ex.R’ failed
The error most likely occurred in:

> ### Name: multiEWS
> ### Title: Multivariate Early Warning Signal Assessment
> ### Aliases: multiEWS
> 
> ### ** Examples
> 
> #Generate a random five species, non-tra
...[truncated]...
lti_spp_data,
+  method = "rolling",
+  winsize = 50)
Error in ar.ols(data[i:(i + winsize_true - 1), x], aic = FALSE, order.max = 1,  : 
  non-conformable arguments
Calls: multiEWS -> wMAF -> mean -> sapply -> lapply -> FUN -> ar.ols
Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

examples

Running examples in ‘EWSmethods-Ex.R’ failed
The error most likely occurred in:

> ### Name: multiEWS
> ### Title: Multivariate Early Warning Signal Assessment
> ### Aliases: multiEWS
> 
> ### ** Examples
> 
> #Generate a random five species, non-tra
...[truncated]...
lti_spp_data,
+  method = "rolling",
+  winsize = 50)
Error in ar.ols(data[i:(i + winsize_true - 1), x], aic = FALSE, order.max = 1,  : 
  non-conformable arguments
Calls: multiEWS -> wMAF -> mean -> sapply -> lapply -> FUN -> ar.ols
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies curl egg ggplot2 gtools forecast foreach infotheo mAr moments rEDM reticulate scales EWSmethods

Version History

updated 1.3.3 ← 1.3.1 diff Mar 30, 2026
new 1.3.1 Mar 10, 2026
updated 1.3.1 ← 1.2.5 diff May 14, 2024
updated 1.2.5 ← 1.2.4 diff Jan 10, 2024
updated 1.2.4 ← 1.2.1 diff Jan 8, 2024
updated 1.2.1 ← 1.1.2 diff Nov 6, 2023
new 1.1.2 Apr 24, 2023