Running ‘test-all.R’ [53s/92s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("EpiModel")
  Loading required package: EpiModel
  Loading required package: deSolve
  Loading required package: networkDynamic
  Loading required package: network
  
  'network' 1.18.1 (2023-01-24), 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
  
  
  'networkDynamic' 0.11.3 (2023-02-15), part of the Statnet Project
  * 'news(package="networkDynamic")' for changes since last version
  * 'citation("networkDynamic")' for citation information
  * 'https://statnet.org' for help, support, and other information
  
  Loading required package: tergm
  Loading required package: ergm
  
  'ergm' 4.5.0 (2023-05-27), 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.
  
  
  'tergm' 4.1.1 (2022-11-07), part of the Statnet Project
  * 'news(package="tergm")' for changes since last version
  * 'citation("tergm")' for citation information
  * 'https://statnet.org' for help, support, and other information
  
  
  Attaching package: 'tergm'
  
  The following object is masked from 'package:ergm':
  
      snctrl
  
  Loading required package: statnet.common
  
  Attaching package: 'statnet.common'
  
  The following object is masked from 'package:ergm':
  
      snctrl
  
  The following objects are masked from 'package:base':
  
      attr, order
  
  
  Network Diagnostics
  -----------------------
  - Simulating 10 networks
  - Calculating formation statisticsEpiModel Network Diagnostics
  =======================
  Diagnostic Method: Static
  Simulations: 10
  
  Formation Diagnostics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50     48.3     -3.4  1.732  -0.981            NA
  offset(deg6+)             NA      0.0       NA    NaN      NA            NA
  nodematch.sex              0      0.0      NaN    NaN     NaN            NA
  nodematch.race            20     20.1      0.5  0.936   0.107            NA
  deg6+                      0      0.0      NaN    NaN     NaN            NA
  offset(nodematch.sex)     NA      0.0       NA    NaN      NA            NA
  degree5                    0      0.0      NaN    NaN     NaN            NA
                        SD(Statistic)
  edges                         5.478
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                2.961
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  Network Diagnostics
  -----------------------
  - Simulating 10 networks
   |**********|
  - Calculating formation statisticsEpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 10
  Time Steps per Sim: 5
  
  Formation Diagnostics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50    47.70     -4.6  1.160  -1.982         8.107
  offset(deg6+)             NA     0.00       NA    NaN      NA         0.000
  nodematch.sex              0     0.00      NaN    NaN     NaN         0.000
  nodematch.race            20    19.92     -0.4  0.765  -0.105         6.072
  deg6+                      0     0.00      NaN    NaN     NaN         0.000
  offset(nodematch.sex)     NA     0.00       NA    NaN      NA         0.000
  degree5                    0     0.00      NaN    NaN     NaN         0.000
                        SD(Statistic)
  edges                         8.205
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                6.037
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  Duration Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges     10    9.571   -4.291  0.149  -2.886         1.241         1.296
  
  Dissolution Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges    0.1    0.101    0.657  0.005   0.134          0.02         0.046
  EpiModel Simulation
  =======================
  Model class: netsim
  
  Simulation Summary
  -----------------------
  Model type: SI
  No. simulations: 2
  No. time steps: 5
  No. NW groups: 1
  
  Fixed Parameters
  ---------------------------
  inf.prob = 0.3
  act.rate = 0.5
  groups = 1
  
  Model Output
  -----------------------
  Variables: s.num i.num num si.flow
  Networks: sim1 sim2
  Transmissions: sim1 sim2
  
  Formation Statistics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50     52.7      5.4  2.642   1.022         9.192
  offset(deg6+)             NA      0.0       NA    NaN      NA         0.000
  nodematch.sex              0      0.0      NaN    NaN     NaN         0.000
  nodematch.race            20     18.1     -9.5  1.059  -1.794         4.101
  deg6+                      0      0.0      NaN    NaN     NaN         0.000
  offset(nodematch.sex)     NA      0.0       NA    NaN      NA         0.000
  degree5                    0      0.0      NaN    NaN     NaN         0.000
                        SD(Statistic)
  edges                         8.354
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                3.348
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  
  Duration Statistics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges     10    9.364   -6.359  0.325  -1.959         0.825         1.026
  
  Dissolution Statistics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges    0.1     0.09  -10.358  0.011  -0.909         0.021         0.036
  
  
  Network Diagnostics
  -----------------------
  - Simulating 10 networks
  - Calculating formation statisticsEpiModel Network Diagnostics
  =======================
  Diagnostic Method: Static
  Simulations: 10
  
  Formation Diagnostics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50     49.3     -1.4  1.453  -0.482            NA
  offset(deg6+)             NA      0.0       NA    NaN      NA            NA
  nodematch.sex              0      0.0      NaN    NaN     NaN            NA
  nodematch.race            20     20.7      3.5  1.136   0.616            NA
  deg6+                      0      0.0      NaN    NaN     NaN            NA
  offset(nodematch.sex)     NA      0.0       NA    NaN      NA            NA
  degree5                    0      0.0      NaN    NaN     NaN            NA
                        SD(Statistic)
  edges                         4.596
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                3.592
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  Network Diagnostics
  -----------------------
  - Simulating 10 networks
   |**********|
  - Calculating formation statisticsEpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 10
  Time Steps per Sim: 5
  
  Formation Diagnostics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50    49.84    -0.32  0.589  -0.272         3.515
  offset(deg6+)             NA     0.00       NA    NaN      NA         0.000
  nodematch.sex              0     0.00      NaN    NaN     NaN         0.000
  nodematch.race            20    21.88     9.40  0.704   2.671         4.872
  deg6+                      0     0.00      NaN    NaN     NaN         0.000
  offset(nodematch.sex)     NA     0.00       NA    NaN      NA         0.000
  degree5                    0     0.00      NaN    NaN     NaN         0.000
                        SD(Statistic)
  edges                         4.167
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                4.935
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  Duration Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges     10    9.639   -3.613  0.148  -2.449         0.972         1.043
  
  Dissolution Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges    0.1    0.104    4.138  0.005    0.78         0.013         0.038
  EpiModel Simulation
  =======================
  Model class: netsim
  
  Simulation Summary
  -----------------------
  Model type: SI
  No. simulations: 2
  No. time steps: 5
  No. NW groups: 1
  
  Fixed Parameters
  ---------------------------
  inf.prob = 0.3
  act.rate = 0.5
  groups = 1
  
  Model Output
  -----------------------
  Variables: s.num i.num num si.flow
  Networks: sim1 sim2
  Transmissions: sim1 sim2
  
  Formation Statistics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50     48.5       -3  1.721  -0.872         6.364
  offset(deg6+)             NA      0.0       NA    NaN      NA         0.000
  nodematch.sex              0      0.0      NaN    NaN     NaN         0.000
  nodematch.race            20     23.6       18  0.819   4.394         2.263
  deg6+                      0      0.0      NaN    NaN     NaN         0.000
  offset(nodematch.sex)     NA      0.0       NA    NaN      NA         0.000
  degree5                    0      0.0      NaN    NaN     NaN         0.000
                        SD(Statistic)
  edges                         5.442
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                2.591
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  
  Duration Statistics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges     10   10.171    1.711  0.277   0.618         0.916         0.875
  
  Dissolution Statistics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges    0.1    0.102    1.969   0.01   0.201         0.015         0.031
  
  [ FAIL 37 | WARN 38 | SKIP 119 | PASS 376 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (119)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-attr-copy.R:25:3'): Copying attributes from network to attribute list ──
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-attr-copy.R:25:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-dissolution-diagnostics.R:153:7'): simulation diagnostics work as expected ──
  Error in `est$newnetwork[, ] <- FALSE`: incorrect number of subscripts on matrix
  ── Error ('test-dissolution-diagnostics.R:206:3'): netsim produces a networkDynamic with the expected data.frame when resimulate.network = FALSE ──
  Error in `simulate.formula_lhs(object = TARGET_STATS ~ edges + nodematch("race"), 
      coef = x$coef.form.crude, constraints = x$constraints, control = set.control.ergm, 
      dynamic = FALSE)`: No applicable method for LHS of type 'NULL'.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-dissolution-diagnostics.R:206:2
    2.   └─base::lapply(...)
    3.     └─EpiModel (local) FUN(X[[i]], ...)
    4.       └─EpiModel:::netsim_initialize(x, param, init, control, s)
    5.         └─control[["initialize.FUN"]](x, param, init, control, s)
    6.           └─EpiModel::sim_nets_t1(x, dat, nsteps)
    7.             ├─stats::simulate(...)
    8.             ├─ergm:::simulate.formula(...)
    9.             │ └─base::eval(cl, parent.frame())
   10.             │   └─base::eval(cl, parent.frame())
   11.             ├─stats::simulate(...)
   12.             └─ergm:::simulate.formula_lhs(...)
  ── Error ('test-dissolution-diagnostics.R:249:3'): netsim produces a networkDynamic with the expected data.frame when resimulate.network = TRUE ──
  Error in `simulate.formula_lhs(object = TARGET_STATS ~ edges + nodematch("race"), 
      coef = x$coef.form.crude, constraints = x$constraints, control = set.control.ergm, 
      dynamic = FALSE)`: No applicable method for LHS of type 'NULL'.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-dissolution-diagnostics.R:249:2
    2.   └─base::lapply(...)
    3.     └─EpiModel (local) FUN(X[[i]], ...)
    4.       └─EpiModel:::netsim_initialize(x, param, init, control, s)
    5.         └─control[["initialize.FUN"]](x, param, init, control, s)
    6.           └─EpiModel::sim_nets_t1(x, dat, nsteps)
    7.             ├─stats::simulate(...)
    8.             ├─ergm:::simulate.formula(...)
    9.             │ └─base::eval(cl, parent.frame())
   10.             │   └─base::eval(cl, parent.frame())
   11.             ├─stats::simulate(...)
   12.             └─ergm:::simulate.formula_lhs(...)
  ── Error ('test-get.R:18:1'): (code run outside of `test_that()`) ──────────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-get.R:18:0
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-merge.R:71:3'): merge for netsim ───────────────────────────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-merge.R:71:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-merge.R:90:3'): merge for netsim ───────────────────────────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-merge.R:90:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-merge.R:113:3'): merge works for open sims saving nw stats ─────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-merge.R:113:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-merge.R:134:3'): merge.netsim works as expected for transmat ───
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-merge.R:134:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-merge.R:161:3'): merge and print work as expected for save.other ──
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-merge.R:161:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-mutate.R:16:3'): mutate_epi.netsim ─────────────────────────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est1, param, init, control) at test-mutate.R:16:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netattr.R:27:3'): Updating attributes in open populations ──────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est1, param, init, control) at test-netattr.R:27:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netest.R:164:3'): duration 1 update_dissolution tests ──────────
  Error in `simulate.formula_lhs(object = TARGET_STATS ~ edges + nodemix("race", 
      levels2 = 1:5), nsim = if (dynamic == TRUE) 1L else nsims, 
      coef = x$coef.form.crude, constraints = x$constraints, control = set.control.ergm, 
      dynamic = FALSE, output = if (dynamic == TRUE) "network" else "stats", 
      sequential = if (dynamic == TRUE) FALSE else sequential, 
      monitor = if (dynamic == TRUE) NULL else nwstats.formula)`: No applicable method for LHS of type 'NULL'.
  Backtrace:
      ▆
   1. └─EpiModel::netdx(est_het, dynamic = TRUE, nsteps = 5, verbose = FALSE) at test-netest.R:164:2
   2.   └─EpiModel (local) dosim()
   3.     ├─stats::simulate(...)
   4.     ├─ergm:::simulate.formula(...)
   5.     │ └─base::eval(cl, parent.frame())
   6.     │   └─base::eval(cl, parent.frame())
   7.     ├─stats::simulate(...)
   8.     └─ergm:::simulate.formula_lhs(...)
  ── Failure ('test-netest.R:321:3'): environment handling in non-nested EDA ─────
  `... <- NULL` threw an error with unexpected message.
  Expected match: "object 'a' not found"
  Actual message: "No applicable method for LHS of type 'NULL'."
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-netest.R:321:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─EpiModel::netdx(...)
    7.   └─EpiModel (local) dosim()
    8.     ├─stats::simulate(...)
    9.     ├─ergm:::simulate.formula(...)
   10.     │ └─base::eval(cl, parent.frame())
   11.     │   └─base::eval(cl, parent.frame())
   12.     ├─stats::simulate(...)
   13.     └─ergm:::simulate.formula_lhs(...)
  ── Failure ('test-netest.R:331:3'): environment handling in non-nested EDA ─────
  `... <- NULL` threw an error.
  Message: No applicable method for LHS of type 'NULL'.
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-netest.R:331:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─EpiModel::netdx(...)
    7.   └─EpiModel (local) dosim()
    8.     ├─stats::simulate(...)
    9.     ├─ergm:::simulate.formula(...)
   10.     │ └─base::eval(cl, parent.frame())
   11.     │   └─base::eval(cl, parent.frame())
   12.     ├─stats::simulate(...)
   13.     └─ergm:::simulate.formula_lhs(...)
  ── Failure ('test-netest.R:347:3'): environment handling in non-nested EDA ─────
  `... <- NULL` threw an error with unexpected message.
  Expected match: "object 'x' not found"
  Actual message: "No applicable method for LHS of type 'NULL'."
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-netest.R:347:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─EpiModel::netdx(...)
    7.   └─EpiModel (local) dosim()
    8.     ├─stats::simulate(...)
    9.     ├─ergm:::simulate.formula(...)
   10.     │ └─base::eval(cl, parent.frame())
   11.     │   └─base::eval(cl, parent.frame())
   12.     ├─stats::simulate(...)
   13.     └─ergm:::simulate.formula_lhs(...)
  ── Failure ('test-netest.R:351:3'): environment handling in non-nested EDA ─────
  `... <- NULL` threw an error.
  Message: No applicable method for LHS of type 'NULL'.
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-netest.R:351:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─EpiModel::netdx(...)
    7.   └─EpiModel (local) dosim()
    8.     ├─stats::simulate(...)
    9.     ├─ergm:::simulate.formula(...)
   10.     │ └─base::eval(cl, parent.frame())
   11.     │   └─base::eval(cl, parent.frame())
   12.     ├─stats::simulate(...)
   13.     └─ergm:::simulate.formula_lhs(...)
  ── Error ('test-netoffset.R:31:3'): netsim works with faux offset models ───────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-netoffset.R:31:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netsim-checkpoint.R:18:3'): netsim with checkpoint ─────────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-netsim-checkpoint.R:18:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netsim-end-horizon.R:21:3'): netsim with checkpoint ────────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-netsim-end-horizon.R:21:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netsim.R:23:5'): netsim for edges only, SI, one-mode, closed, 1 sim ──
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:23:4
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netsim.R:37:5'): netsim for edges only, SI, one-mode, closed, 2 sim ──
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:37:4
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netsim.R:49:5'): netsim for edges only, SIS, one-mode, closed, 1 sim ──
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:49:4
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netsim.R:61:5'): netsim for edges only, SIS, one-mode, closed, 2 sim ──
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:61:4
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netsim.R:69:5'): netsim for edges only, SIR, one-mode, closed, 1 sim ──
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:69:4
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netsim.R:81:5'): netsim for edges only, SIR, one-mode, closed, 2 sim ──
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:81:4
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netsim.R:12:5'): (code run outside of `test_that()`) ───────────
  Error in `UseMethod("as.networkLite")`: no applicable method for 'as.networkLite' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::trim_netest(est) at test-netsim.R:12:4
   2.   └─networkLite::as.networkLite(object$newnetwork)
  ── Error ('test-netvary.R:26:3'): time varying parameters for one-mode ─────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est1, param, init, control) at test-netvary.R:26:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-netvary.R:61:3'): time varying parameters for two-group models ──
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est1, param, init, control) at test-netvary.R:61:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-newmodules.R:94:3'): New network models vignette example ───────
  Error in `simulate.formula_lhs(object = TARGET_STATS ~ edges, coef = x$coef.form.crude, 
      constraints = x$constraints, control = set.control.ergm, 
      dynamic = FALSE)`: No applicable method for LHS of type 'NULL'.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-newmodules.R:94:2
    2.   └─base::lapply(...)
    3.     └─EpiModel (local) FUN(X[[i]], ...)
    4.       └─EpiModel:::netsim_initialize(x, param, init, control, s)
    5.         └─control[["initialize.FUN"]](x, param, init, control, s)
    6.           └─EpiModel::sim_nets_t1(x, dat, nsteps)
    7.             ├─stats::simulate(...)
    8.             ├─ergm:::simulate.formula(...)
    9.             │ └─base::eval(cl, parent.frame())
   10.             │   └─base::eval(cl, parent.frame())
   11.             ├─stats::simulate(...)
   12.             └─ergm:::simulate.formula_lhs(...)
  ── Error ('test-print.R:53:3'): print.netsim ───────────────────────────────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-print.R:53:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-record.R:70:3'): Time varying elements ─────────────────────────
  Error in `simulate.formula_lhs(object = TARGET_STATS ~ edges, coef = x$coef.form.crude, 
      constraints = x$constraints, control = set.control.ergm, 
      dynamic = FALSE)`: No applicable method for LHS of type 'NULL'.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-record.R:70:2
    2.   └─base::lapply(...)
    3.     └─EpiModel (local) FUN(X[[i]], ...)
    4.       └─EpiModel:::netsim_initialize(x, param, init, control, s)
    5.         └─control[["initialize.FUN"]](x, param, init, control, s)
    6.           └─EpiModel::sim_nets_t1(x, dat, nsteps)
    7.             ├─stats::simulate(...)
    8.             ├─ergm:::simulate.formula(...)
    9.             │ └─base::eval(cl, parent.frame())
   10.             │   └─base::eval(cl, parent.frame())
   11.             ├─stats::simulate(...)
   12.             └─ergm:::simulate.formula_lhs(...)
  ── Error ('test-scenarios.R:29:3'): SIS with scenarios ─────────────────────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(netsim(est, sc.param, init, control)) at test-scenarios.R:29:2
    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. └─EpiModel::netsim(est, sc.param, init, control)
   10.   └─EpiModel::crosscheck.net(x, param, init, control)
   11.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   12.     └─EpiModel::get_vertex_attribute(nw, "status")
   13.       └─network::get.vertex.attribute(...)
  ── Error ('test-trackers.R:54:3'): netsim, SI, custom trackers ─────────────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-trackers.R:54:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-transmat-dendo.R:13:1'): (code run outside of `test_that()`) ───
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est1, param, init, control) at test-transmat-dendo.R:13:0
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  ── Error ('test-updater.R:69:3'): netsim with param updater ────────────────────
  Error in `simulate.formula_lhs(object = TARGET_STATS ~ edges, coef = x$coef.form.crude, 
      constraints = x$constraints, control = set.control.ergm, 
      dynamic = FALSE)`: No applicable method for LHS of type 'NULL'.
  Backtrace:
       ▆
    1. ├─testthat::expect_message(mod <- netsim(est, param, init, control)) at test-updater.R:69:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─EpiModel::netsim(est, param, init, control)
    7.   └─base::lapply(...)
    8.     └─EpiModel (local) FUN(X[[i]], ...)
    9.       └─EpiModel:::netsim_initialize(x, param, init, control, s)
   10.         └─control[["initialize.FUN"]](x, param, init, control, s)
   11.           └─EpiModel::sim_nets_t1(x, dat, nsteps)
   12.             ├─stats::simulate(...)
   13.             ├─ergm:::simulate.formula(...)
   14.             │ └─base::eval(cl, parent.frame())
   15.             │   └─base::eval(cl, parent.frame())
   16.             ├─stats::simulate(...)
   17.             └─ergm:::simulate.formula_lhs(...)
  ── Error ('test-utils.R:38:3'): color_tea ──────────────────────────────────────
  Error in `UseMethod("get.vertex.attribute")`: no applicable method for 'get.vertex.attribute' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-utils.R:38:2
   2.   └─EpiModel::crosscheck.net(x, param, init, control)
   3.     ├─get_vertex_attribute(nw, "status") %in% c("s", "i", "r")
   4.     └─EpiModel::get_vertex_attribute(nw, "status")
   5.       └─network::get.vertex.attribute(...)
  
  [ FAIL 37 | WARN 38 | SKIP 119 | PASS 376 ]
  Error: Test failures
  Execution halted