CRAN Package Check Results for Package ergm

Last updated on 2025-08-28 01:52:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.9.0 73.18 586.07 659.25 ERROR --no-vignettes
r-devel-linux-x86_64-debian-gcc 4.9.0.1 53.14 388.92 442.06 OK --no-vignettes
r-devel-linux-x86_64-fedora-clang 4.10.1 1190.18 OK
r-devel-linux-x86_64-fedora-gcc 4.10.1 746.05 OK
r-devel-windows-x86_64 4.9.0 107.00 214.00 321.00 OK --no-examples --no-tests --no-vignettes
r-patched-linux-x86_64 4.9.0.1 84.01 549.72 633.73 WARN --no-vignettes
r-release-linux-x86_64 4.9.0 71.39 552.69 624.08 OK --no-vignettes
r-release-macos-arm64 4.9.0.1 231.00 OK
r-release-macos-x86_64 4.10.1 535.00 OK
r-release-windows-x86_64 4.9.0 112.00 217.00 329.00 OK --no-examples --no-tests --no-vignettes
r-oldrel-macos-arm64 4.9.0.1 223.00 NOTE
r-oldrel-macos-x86_64 4.10.1 541.00 NOTE
r-oldrel-windows-x86_64 4.9.0.1 104.00 192.00 296.00 NOTE --no-examples --no-tests --no-vignettes

Check Details

Version: 4.9.0
Flags: --no-vignettes
Check: tests
Result: ERROR Running ‘requireNamespaceTest.R’ [2s/3s] Running ‘testthat.R’ [358s/270s] 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.9.0 (2025-06-09), 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 6 | WARN 0 | SKIP 0 | PASS 4240 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-miss.R:58:3'): directed network ──────────────────────────────── Error: ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages. Backtrace: ▆ 1. └─ergm (local) run.miss.test(y) at test-miss.R:58:3 2. ├─ergm::mcmc.diagnostics(mcmcfit) at test-miss.R:36:3 3. └─ergm:::mcmc.diagnostics.ergm(mcmcfit) 4. ├─base::print(...) 5. └─ergm::ergm_plot.mcmc.list(...) ── Error ('test-miss.R:65:3'): undirected Network ────────────────────────────── Error: ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages. Backtrace: ▆ 1. └─ergm (local) run.miss.test(y) at test-miss.R:65:3 2. ├─ergm::mcmc.diagnostics(mcmcfit) at test-miss.R:36:3 3. └─ergm:::mcmc.diagnostics.ergm(mcmcfit) 4. ├─base::print(...) 5. └─ergm::ergm_plot.mcmc.list(...) ── Error ('test-miss.R:72:3'): Bipartite Undirected Network ──────────────────── Error: ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages. Backtrace: ▆ 1. └─ergm (local) run.miss.test(y) at test-miss.R:72:3 2. ├─ergm::mcmc.diagnostics(mcmcfit) at test-miss.R:36:3 3. └─ergm:::mcmc.diagnostics.ergm(mcmcfit) 4. ├─base::print(...) 5. └─ergm::ergm_plot.mcmc.list(...) ── Failure ('test-nonunique-names.R:15:3'): MCMC diagnostics produced even when names are not unique ── Expected `mcmc.diagnostics(fit)` to run without any conditions. i Actually got a <simpleError> with text: ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages. ── Failure ('test-target-offset.R:17:3'): target+offset in a non-curved ERGM ─── `mcmc.diagnostics(fit)` threw an unexpected error. Message: ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-target-offset.R:17:3 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. ├─testthat::expect_error(mcmc.diagnostics(fit), NA) 8. │ └─testthat:::expect_condition_matching(...) 9. │ └─testthat:::quasi_capture(...) 10. │ ├─testthat (local) .capture(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 13. ├─ergm::mcmc.diagnostics(fit) 14. └─ergm:::mcmc.diagnostics.ergm(fit) 15. ├─base::print(...) 16. └─ergm::ergm_plot.mcmc.list(...) ── Failure ('test-target-offset.R:26:3'): target+offset in a curved ERGM ─────── `mcmc.diagnostics(fit)` threw an unexpected error. Message: ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-target-offset.R:26:3 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. ├─testthat::expect_error(mcmc.diagnostics(fit), NA) 8. │ └─testthat:::expect_condition_matching(...) 9. │ └─testthat:::quasi_capture(...) 10. │ ├─testthat (local) .capture(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 13. ├─ergm::mcmc.diagnostics(fit) 14. └─ergm:::mcmc.diagnostics.ergm(fit) 15. ├─base::print(...) 16. └─ergm::ergm_plot.mcmc.list(...) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 4240 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 4.9.0.1
Flags: --no-vignettes
Check: whether package can be installed
Result: WARN Found the following significant warnings: Rd warning: no hsearch.rds meta data for package ergm See ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/ergm.Rcheck/00install.out’ for details. * used C compiler: ‘gcc-14 (Debian 14.3.0-5) 14.3.0’ Flavor: r-patched-linux-x86_64

Version: 4.9.0.1
Check: installed package size
Result: NOTE installed size is 9.6Mb sub-directories of 1Mb or more: R 2.0Mb doc 2.5Mb help 1.0Mb libs 3.3Mb Flavor: r-oldrel-macos-arm64

Version: 4.10.1
Check: installed package size
Result: NOTE installed size is 9.0Mb sub-directories of 1Mb or more: R 2.0Mb doc 1.3Mb help 1.1Mb libs 3.9Mb Flavor: r-oldrel-macos-x86_64

Version: 4.9.0.1
Flags: --no-examples --no-tests --no-vignettes
Check: installed package size
Result: NOTE installed size is 6.0Mb sub-directories of 1Mb or more: R 1.1Mb doc 2.5Mb help 1.1Mb Flavor: r-oldrel-windows-x86_64