Package check result: NOTE Check: CRAN incoming feasibility, Result: NOTE Maintainer: ‘Pavel N. Krivitsky ’ License components with restrictions and base license permitting such: GPL-3 + file LICENSE File 'LICENSE': -------------------------------------------------- License for the 'statnet' component package 'ergm' -------------------------------------------------- This software is distributed under the GPL-3 license. It is free, open source, and has the following attribution requirements (GPL Section 7): (a) you agree to retain in 'ergm' and any modifications to 'ergm' the copyright, author attribution and URL information as provided at statnet.org/attribution (b) you agree that 'ergm' and any modifications to 'ergm' will, when used, display the attribution: Based on 'statnet' project software (statnet.org). For license and citation information see statnet.org/attribution -------------------------------------------------- What does this mean? ==================== If you are modifying 'ergm' or adopting any source code from 'ergm' for use in another application, you must ensure that the copyright and attributions mentioned in the license above appear in the code of your modified version or application. These attributions must also appear when the package is loaded (e.g., via 'library' or 'require'). Enjoy! Mark S. Handcock, University of California, Los Angeles David R. Hunter, Penn State University Carter T. Butts, University of California, Irvine Steven M. Goodreau, University of Washington Pavel N. Krivitsky, University of New South Wales Michał Bojanowski, Kozminski University Martina Morris, University of Washington The 'statnet' development team Copyright 2003-2025 Other contributors ==================== khash.h "library" is Copyright (c) 2008, 2009, 2011 by Attractive Chaos , incorporated under the MIT license. kvec.h "library" is Copyright (c) 2008 by Attractive Chaos , incorporated under the MIT license. Found the following (possibly) invalid URLs: URL: https://csss.uw.edu/research/working-papers/assessing-degeneracy-statistical-models-social-networks From: man/ergm-package.Rd man/ergm.Rd inst/doc/ergm.html Status: Error Message: SSL peer certificate or SSH remote key was not OK [csss.uw.edu]: server verification failed: certificate signer not trusted. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none) Changes to worse in reverse depends: Package: ergm.ego Check: examples New result: ERROR Running examples in ‘ergm.ego-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: degreedist.egor > ### Title: Plotting the degree distribution of an egocentric dataset > ### Aliases: degreedist.egor degreedist > > ### ** Examples > > > data(faux.mesa.high) > fmh.ego <- as.egor(faux.mesa.high) > > degreedist(fmh.ego,by="Grade",brgmod=TRUE) Warning: ‘glpk’ selected as the solver, but package ‘Rglpk’ is not available; falling back to ‘lpSolveAPI’. This should be fine unless the sample size and/or the number of parameters is very big. Error: Named vector ‘coef’ is missing values for the following elements: ‘offset(netsize.adj)’. Execution halted Package: ergm.ego Check: tests New result: ERROR Running ‘testthat.R’ [58s/33s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # File tests/testthat.R in package ergm.ego, 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 2015-2025 Statnet Commons > ################################################################################ > library(testthat) > library(ergm.ego) 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.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. Loading required package: egor Loading required package: dplyr Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Loading required package: tibble 'ergm.ego' 1.1.2 (2025-02-12), part of the Statnet Project * 'news(package="ergm.ego")' for changes since last version * 'citation("ergm.ego")' for citation information * 'https://statnet.org' for help, support, and other information Attaching package: 'ergm.ego' The following objects are masked from 'package:ergm': COLLAPSE_SMALLEST, snctrl The following object is masked from 'package:base': sample > > test_check("ergm.ego") Starting 2 test processes [ FAIL 6 | WARN 1 | SKIP 0 | PASS 99 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-gof.ergm.ego.R:15:3'): GOF='model' works ─────────────────────── Error: Named vector 'coef' is missing values for the following elements: 'offset(netsize.adj)'. Backtrace: ▆ 1. ├─testthat::expect_silent(z <- gof(fmhfit, GOF = "model")) at test-gof.ergm.ego.R:15:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. ├─ergm::gof(fmhfit, GOF = "model") 10. └─ergm.ego:::gof.ergm.ego(fmhfit, GOF = "model") 11. └─ergm.ego (local) do.sim() 12. ├─stats::simulate(...) 13. └─ergm.ego:::simulate.ergm.ego(...) 14. ├─stats::simulate(...) 15. ├─ergm:::simulate.formula(...) 16. │ └─base::eval(cl, parent.frame()) 17. │ └─base::eval(cl, parent.frame()) 18. ├─stats::simulate(...) 19. └─ergm:::simulate.formula_lhs_network(...) 20. ├─ergm::simulate_formula(...) 21. └─ergm (local) simulate_formula.network(...) 22. ├─stats::simulate(...) 23. └─ergm:::simulate.ergm_model(...) 24. └─statnet.common::match_names(coef, param_names(object, canonical = FALSE)) ── Error ('test-gof.ergm.ego.R:30:3'): GOF='degree' works ────────────────────── Error: Named vector 'coef' is missing values for the following elements: 'offset(netsize.adj)'. Backtrace: ▆ 1. ├─testthat::expect_silent(z <- gof(fmhfit, GOF = "degree")) at test-gof.ergm.ego.R:30:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. ├─ergm::gof(fmhfit, GOF = "degree") 10. └─ergm.ego:::gof.ergm.ego(fmhfit, GOF = "degree") 11. └─ergm.ego (local) do.sim(f) 12. ├─stats::simulate(...) 13. └─ergm.ego:::simulate.ergm.ego(...) 14. ├─stats::simulate(...) 15. ├─ergm:::simulate.formula(...) 16. │ └─base::eval(cl, parent.frame()) 17. │ └─base::eval(cl, parent.frame()) 18. ├─stats::simulate(...) 19. └─ergm:::simulate.formula_lhs_network(...) 20. ├─ergm::simulate_formula(...) 21. └─ergm (local) simulate_formula.network(...) 22. ├─stats::simulate(...) 23. └─ergm:::simulate.ergm_model(...) 24. └─statnet.common::match_names(coef, param_names(object, canonical = FALSE)) ── Error ('test-gof.ergm.ego.R:46:3'): GOF='espartners' works ────────────────── Error: Named vector 'coef' is missing values for the following elements: 'offset(netsize.adj)'. Backtrace: ▆ 1. ├─testthat::expect_silent(z <- gof(fmhfit, GOF = "espartners")) at test-gof.ergm.ego.R:46:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. ├─ergm::gof(fmhfit, GOF = "espartners") 10. └─ergm.ego:::gof.ergm.ego(fmhfit, GOF = "espartners") 11. └─ergm.ego (local) do.sim(f) 12. ├─stats::simulate(...) 13. └─ergm.ego:::simulate.ergm.ego(...) 14. ├─stats::simulate(...) 15. ├─ergm:::simulate.formula(...) 16. │ └─base::eval(cl, parent.frame()) 17. │ └─base::eval(cl, parent.frame()) 18. ├─stats::simulate(...) 19. └─ergm:::simulate.formula_lhs_network(...) 20. ├─ergm::simulate_formula(...) 21. └─ergm (local) simulate_formula.network(...) 22. ├─stats::simulate(...) 23. └─ergm:::simulate.ergm_model(...) 24. └─statnet.common::match_names(coef, param_names(object, canonical = FALSE)) ── Error ('test-gof.ergm.ego.R:70:3'): GOF='espartners' works if `esp` term is in the model ── Error: Named vector 'coef' is missing values for the following elements: 'offset(netsize.adj)'. Backtrace: ▆ 1. ├─testthat::expect_silent(gofobj <- gof(fit, GOF = "espartners")) at test-gof.ergm.ego.R:70:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. ├─ergm::gof(fit, GOF = "espartners") 10. └─ergm.ego:::gof.ergm.ego(fit, GOF = "espartners") 11. └─ergm.ego (local) do.sim(f) 12. ├─stats::simulate(...) 13. └─ergm.ego:::simulate.ergm.ego(...) 14. ├─stats::simulate(...) 15. ├─ergm:::simulate.formula(...) 16. │ └─base::eval(cl, parent.frame()) 17. │ └─base::eval(cl, parent.frame()) 18. ├─stats::simulate(...) 19. └─ergm:::simulate.formula_lhs_network(...) 20. ├─ergm::simulate_formula(...) 21. └─ergm (local) simulate_formula.network(...) 22. ├─stats::simulate(...) 23. └─ergm:::simulate.ergm_model(...) 24. └─statnet.common::match_names(coef, param_names(object, canonical = FALSE)) ── Error ('test-table_ppop.R:39:3'): estimation and simulation work ──────────── Error: Named vector 'coef' is missing values for the following elements: 'offset(netsize.adj)'. Backtrace: ▆ 1. ├─testthat::expect_silent((egosim <- simulate(egofit_scl, popsize = ppop))) at test-table_ppop.R:39:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. ├─stats::simulate(egofit_scl, popsize = ppop) 10. └─ergm.ego:::simulate.ergm.ego(egofit_scl, popsize = ppop) 11. ├─stats::simulate(...) 12. ├─ergm:::simulate.formula(...) 13. │ └─base::eval(cl, parent.frame()) 14. │ └─base::eval(cl, parent.frame()) 15. ├─stats::simulate(...) 16. └─ergm:::simulate.formula_lhs_network(...) 17. ├─ergm::simulate_formula(...) 18. └─ergm (local) simulate_formula.network(...) 19. ├─stats::simulate(...) 20. └─ergm:::simulate.ergm_model(...) 21. └─statnet.common::match_names(coef, param_names(object, canonical = FALSE)) ── Failure ('test-predict.ergm.ego.R:20:3'): it just works for model without offsets ── `p <- predict(egofit)` produced warnings. [ FAIL 6 | WARN 1 | SKIP 0 | PASS 99 ] Error: Test failures Execution halted