Last updated on 2025-06-10 21:51:17 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.2 | 19.25 | 270.02 | 289.27 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.2 | 14.24 | 143.06 | 157.30 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.1.3 | 459.20 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.3 | 432.07 | OK | |||
r-devel-windows-x86_64 | 1.1.2 | 24.00 | 207.00 | 231.00 | OK | |
r-patched-linux-x86_64 | 1.1.2 | 20.53 | 250.60 | 271.13 | OK | |
r-release-linux-x86_64 | 1.1.2 | 20.93 | 255.23 | 276.16 | OK | |
r-release-macos-arm64 | 1.1.3 | 104.00 | OK | |||
r-release-macos-x86_64 | 1.1.2 | 239.00 | OK | |||
r-release-windows-x86_64 | 1.1.2 | 28.00 | 212.00 | 240.00 | OK | |
r-oldrel-macos-arm64 | 1.1.3 | 111.00 | OK | |||
r-oldrel-macos-x86_64 | 1.1.2 | 224.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.2 | 32.00 | 269.00 | 301.00 | OK |
Version: 1.1.2
Check: examples
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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [59s/35s]
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
Flavor: r-devel-linux-x86_64-debian-gcc