Last updated on 2026-03-24 08:52:42 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.3.1 | 7.93 | 167.03 | 174.96 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.3.1 | 5.88 | 109.89 | 115.77 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.3.1 | 15.00 | 283.13 | 298.13 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.3.1 | 14.00 | 182.25 | 196.25 | ERROR | |
| r-devel-macos-arm64 | 1.3.1 | 2.00 | 44.00 | 46.00 | OK | |
| r-devel-windows-x86_64 | 1.3.1 | 11.00 | 249.00 | 260.00 | OK | |
| r-patched-linux-x86_64 | 1.3.1 | 8.48 | 155.50 | 163.98 | OK | |
| r-release-linux-x86_64 | 1.3.1 | 7.91 | 156.09 | 164.00 | OK | |
| r-release-macos-arm64 | 1.3.1 | OK | ||||
| r-release-macos-x86_64 | 1.3.1 | 5.00 | 152.00 | 157.00 | OK | |
| r-release-windows-x86_64 | 1.3.1 | 11.00 | 228.00 | 239.00 | OK | |
| r-oldrel-macos-arm64 | 1.3.1 | OK | ||||
| r-oldrel-macos-x86_64 | 1.3.1 | 5.00 | 117.00 | 122.00 | OK | |
| r-oldrel-windows-x86_64 | 1.3.1 | 15.00 | 346.00 | 361.00 | OK |
Version: 1.3.1
Check: examples
Result: ERROR
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-transitioning
> #ecosystem with 50 years of monitoring data.
>
> spp_data <- matrix(nrow = 50, ncol = 5)
> spp_data <- sapply(1:dim(spp_data)[2], function(x){
+ spp_data[,x] <- rnorm(50,mean=20,sd=5)})
> multi_spp_data <- as.data.frame(cbind("time" =
+ seq(1:50), spp_data))
>
> #Rolling window early warning signal assessment of
> #the ecosystem.
>
> roll_ews <- multiEWS(
+ data = multi_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
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.3.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [56s/94s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(EWSmethods)
>
> test_check("EWSmethods")
data successfully aggregated into monthly time steps
data successfully aggregated into monthly time steps
data successfully aggregated into monthly time steps
Saving _problems/test-multivariate_composite_ews_wrapper-8.R
Saving _problems/test-perm_rollEWS-20.R
Saving _problems/test-uniAR-5.R
Saving _problems/test-univariate_composite_ews_wrapper-9.R
[ FAIL 4 | WARN 26 | SKIP 2 | PASS 43 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-reset_ewsnet.R:2:3'
• miniconda not available for testing (1): 'test-ewsnet_init.R:11:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-multivariate_composite_ews_wrapper.R:6:3'): mulitEWS works ─────
Error in `ar.ols(data[i:(i + winsize_true - 1), x], aic = FALSE, order.max = 1, dmean = FALSE, intercept = FALSE)`: non-conformable arguments
Backtrace:
▆
1. └─EWSmethods::multiEWS(...) at test-multivariate_composite_ews_wrapper.R:6:3
2. └─EWSmethods:::wMAF(...)
3. ├─base::mean(...)
4. └─base::sapply(...)
5. └─base::lapply(X = X, FUN = FUN, ...)
6. └─EWSmethods (local) FUN(X[[i]], ...)
7. └─stats::ar.ols(...)
── Error ('test-perm_rollEWS.R:14:3'): Permuted rolling EWS works ──────────────
Error in `ar.ols(data[i:(i + winsize_true - 1), x], aic = FALSE, order.max = 1, dmean = FALSE, intercept = FALSE)`: non-conformable arguments
Backtrace:
▆
1. └─EWSmethods::perm_rollEWS(...) at test-perm_rollEWS.R:14:3
2. └─EWSmethods::multiEWS(...)
3. └─EWSmethods:::wMAF(...)
4. ├─base::mean(...)
5. └─base::sapply(...)
6. └─base::lapply(X = X, FUN = FUN, ...)
7. └─EWSmethods (local) FUN(X[[i]], ...)
8. └─stats::ar.ols(...)
── Error ('test-uniAR.R:5:3'): uniAR behaviour ─────────────────────────────────
Error in `stats::ar.ols(as.matrix(sub_data[, -1]), aic = FALSE, order.max = p, dmean = FALSE, intercept = FALSE)`: non-conformable arguments
Backtrace:
▆
1. └─EWSmethods::uniAR(data = test.data, winsize = 50, dt = 1) at test-uniAR.R:5:3
2. └─base::lapply(...)
3. └─EWSmethods (local) FUN(X[[i]], ...)
4. └─stats::ar.ols(...)
── Error ('test-univariate_composite_ews_wrapper.R:7:3'): uniEWS works ─────────
Error in `ar.ols(data[i:(i + winsize_true - 1), 2], aic = FALSE, order.max = 1, dmean = FALSE, intercept = FALSE)`: non-conformable arguments
Backtrace:
▆
1. └─EWSmethods::uniEWS(...) at test-univariate_composite_ews_wrapper.R:7:3
2. └─EWSmethods:::no.plot.ews(...)
3. └─stats::ar.ols(...)
[ FAIL 4 | WARN 26 | SKIP 2 | PASS 43 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.3.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘ews_assessments.Rmd’ using rmarkdown
Quitting from ews_assessments.Rmd:112-117 [rolling_ews]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ar.ols()`:
! non-conformable arguments
---
Backtrace:
▆
1. └─EWSmethods::uniEWS(...)
2. └─EWSmethods:::no.plot.ews(...)
3. └─stats::ar.ols(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'ews_assessments.Rmd' failed with diagnostics:
non-conformable arguments
--- failed re-building ‘ews_assessments.Rmd’
SUMMARY: processing the following file failed:
‘ews_assessments.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc