Package: ergm Check: tests New result: ERROR Running ‘requireNamespaceTest.R’ [1s/1s] Running ‘testthat.R’ [200s/102s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # File tests/testthat.R in package ergm, part of the > # Statnet suite of packages for network analysis, https://statnet.org . > # > # This software is distributed under the GPL-3 license. It is free, > # open source, and has the attribution requirements (GPL Section 7) at > # https://statnet.org/attribution . > # > # Copyright 2003-2025 Statnet Commons > ################################################################################ > library(testthat) > library(ergm) Loading required package: network 'network' 1.19.0 (2024-12-08), part of the Statnet Project * 'news(package="network")' for changes since last version * 'citation("network")' for citation information * 'https://statnet.org' for help, support, and other information 'ergm' 4.8.1 (2025-01-20), part of the Statnet Project * 'news(package="ergm")' for changes since last version * 'citation("ergm")' for citation information * 'https://statnet.org' for help, support, and other information 'ergm' 4 is a major update that introduces some backwards-incompatible changes. Please type 'news(package="ergm")' for a list of major changes. > > test_check("ergm") Starting 2 test processes [ FAIL 1 | WARN 0 | SKIP 0 | PASS 4249 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-drop.R:69:3'): doesn't crash for dyad-dependent and curved terms ── `crash.test()` threw an unexpected error. Message: x is not in the span of A Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::capture_warnings(expect_error(crash.test(), NA)) at test-drop.R:69:3 2. │ └─base::withCallingHandlers(...) 3. ├─testthat::expect_error(crash.test(), NA) 4. │ └─testthat:::expect_condition_matching(...) 5. │ └─testthat:::quasi_capture(...) 6. │ ├─testthat (local) .capture(...) 7. │ │ └─base::withCallingHandlers(...) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─ergm (local) crash.test() 10. └─ergm::ergm(...) at test-drop.R:64:3 11. └─ergm:::ergm.fit(...) 12. └─ergm:::ergm.MCMLE(...) 13. └─statnet.common::xTAx_seigen(estdiff.prev, Vm) 14. └─statnet.common::xTAx_eigen(x, A, tol = tol, ...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 4249 ] Error: Test failures Execution halted