Package: ergm.multi Check: tests New result: ERROR Running ‘testthat.R’ [36s/30s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # File tests/testthat.R in package ergm.multi, 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.multi) Loading required package: 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.10.0 (2025-08-26), 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. 'ergm.multi' 0.3.0 (2025-06-14), part of the Statnet Project * 'news(package="ergm.multi")' for changes since last version * 'citation("ergm.multi")' for citation information * 'https://statnet.org' for help, support, and other information Attaching package: 'ergm.multi' The following object is masked from 'package:ergm': snctrl > > test_check("ergm.multi") Starting 2 test processes [ FAIL 1 | WARN 0 | SKIP 0 | PASS 54 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-multinet.R:89:5'): N() estimation with an LM, subsetting down to only 1 network, and noncompacted stats ── Error in `-fit$hessian`: invalid argument to unary operator Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-multinet.R:89:5 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─ergm::ergm(...) 8. └─ergm:::ergm.fit(...) 9. └─ergm:::ergm.mple(...) 10. └─ergm:::ergm.logitreg(...) 11. └─statnet.common::sginv(-fit$hessian, tol = .Machine$double.eps^(3/4)) 12. └─statnet.common:::.sqrt_inv_diag(X) 13. └─statnet.common:::.inv_diag(X) 14. ├─base::diag(as.matrix(X)) 15. └─base::as.matrix(X) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 54 ] Error: Test failures Execution halted Package: statnet Check: whether startup messages can be suppressed New result: NOTE There are updates for the following statnet packages on CRAN: Installed ReposVer Built ergm "4.9.0" "4.9.0.1" "4.6.0" Restart R and use "statnet::update_statnet()" to get the updates. It looks like this package (or a package it requires) has a startup message which cannot be suppressed: see ?packageStartupMessage.