Running 'test-all.R' [44s]
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.0 (2022-10-05), 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.2 (2022-05-04), 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.3.1 (2022-11-07), 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.0 (2022-06-22), 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
  
  [ FAIL 49 | WARN 1 | SKIP 123 | PASS 287 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (123)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-attr-copy.R:25'): Copying attributes from network to attribute list ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-attr-copy.R:25: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-dissolution-diagnostics.R:157'): simulation diagnostics work as expected ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netdx(...) at test-dissolution-diagnostics.R:157:4
    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_network(...)
    9.       ├─ergm::simulate_formula(...)
   10.       ├─tergm:::simulate_formula.network(...)
   11.       │ └─base::eval.parent(mc)
   12.       │   └─base::eval(expr, p)
   13.       │     └─base::eval(expr, p)
   14.       └─ergm (local) `<fn>`(...)
   15.         ├─ergm::ergm_proposal(...)
   16.         └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-dissolution-diagnostics.R:206'): netsim produces a networkDynamic with the expected data.frame when resimulate.network = FALSE ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-dissolution-diagnostics.R:249'): netsim produces a networkDynamic with the expected data.frame when resimulate.network = TRUE ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-get.R:18'): (code run outside of `test_that()`) ────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-get.R:18:0
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-merge.R:71'): merge for netsim ─────────────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-merge.R:71: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-merge.R:90'): merge for netsim ─────────────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-merge.R:90: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-merge.R:113'): merge works for open sims saving nw stats ───────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-merge.R:113: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-merge.R:134'): merge.netsim works as expected for transmat ─────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-merge.R:134: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-merge.R:161'): merge and print work as expected for save.other ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-merge.R:161: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-mutate.R:16'): mutate_epi.netsim ───────────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est1, param, init, control) at test-mutate.R:16: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-net-tergmLite.R:285'): edgecov works with tergmLite ────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(fit, param, init, control) at test-net-tergmLite.R:285: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netattr.R:27'): Updating attributes in open populations ────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est1, param, init, control) at test-netattr.R:27: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netest.R:29'): netest works with offset.coef terms ─────────────
  Error in `T2nullity && verbose`: invalid 'x' type in 'x && y'
  Backtrace:
      ▆
   1. └─EpiModel::netest(...) at test-netest.R:29:2
   2.   └─ergm::ergm(...)
   3.     └─ergm:::ergm.MCMLE(...)
  ── Error ('test-netoffset.R:13'): netsim works with standard offset models ─────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-netoffset.R:13: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netoffset.R:31'): netsim works with faux offset models ─────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-netoffset.R:31: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim-checkpoint.R:18'): netsim with checkpoint ───────────────
  Error in `{
      dat <- netsim_initialize(x, param, init, control, s)
      netsim_run(dat, s)
  }`: task 1 failed - "NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report."
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-netsim-checkpoint.R:18:2
   2.   └─foreach(s = seq_len(control$nsims)) %dopar% ...
   3.     └─e$fun(obj, substitute(ex), parent.frame(), e$data)
  ── Error ('test-netsim.R:23'): netsim for edges only, SI, one-mode, closed, 1 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:23:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:37'): netsim for edges only, SI, one-mode, closed, 2 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:37:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:49'): netsim for edges only, SIS, one-mode, closed, 1 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:49:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:61'): netsim for edges only, SIS, one-mode, closed, 2 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:61:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:69'): netsim for edges only, SIR, one-mode, closed, 1 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:69:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:81'): netsim for edges only, SIR, one-mode, closed, 2 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:81:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:23'): netsim for edges only, SI, one-mode, closed, 1 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:23:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:37'): netsim for edges only, SI, one-mode, closed, 2 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:37:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:49'): netsim for edges only, SIS, one-mode, closed, 1 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:49:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:61'): netsim for edges only, SIS, one-mode, closed, 2 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:61:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:69'): netsim for edges only, SIR, one-mode, closed, 1 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:69:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:81'): netsim for edges only, SIR, one-mode, closed, 2 sim ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est2, param, init, control) at test-netsim.R:81:4
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:101'): netsim implicit save.network option ────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est1, param, init, control) at test-netsim.R:101: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:116'): netsim for edges only, SIR, one-mode, closed, 2 sim, set.control.stergm ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-netsim.R:116: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:135'): netsim duration 1 ──────────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(estd1, param, init, control) at test-netsim.R:135: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:193'): netsim diss.stats ──────────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-netsim.R:193: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netsim.R:225'): save.other sim naming ──────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-netsim.R:225: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netstats.R:39'): nw stats in full tergm ────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-netstats.R:39: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netstats.R:70'): nw stats in tergmLite ─────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-netstats.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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netstats.R:102'): tergm and tergmLite produce equal non-durational statistics ──
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-netstats.R:102: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netvary.R:26'): time varying parameters for one-mode ───────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est1, param, init, control) at test-netvary.R:26: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-netvary.R:61'): time varying parameters for two-group models ───
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est1, param, init, control) at test-netvary.R:61: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-newmodules.R:94'): New network models vignette example ─────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-print.R:53'): print.netsim ─────────────────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-print.R:53: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-record.R:61'): Time varying elements ───────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-record.R:61: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-scenarios.R:29'): SIS with scenarios ───────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  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.   └─base::lapply(...)
   11.     └─EpiModel (local) FUN(X[[i]], ...)
   12.       └─EpiModel:::netsim_initialize(x, param, init, control, s)
   13.         └─control[["initialize.FUN"]](x, param, init, control, s)
   14.           └─EpiModel::sim_nets_t1(x, dat, nsteps)
   15.             ├─stats::simulate(...)
   16.             ├─ergm:::simulate.formula(...)
   17.             │ └─base::eval(cl, parent.frame())
   18.             │   └─base::eval(cl, parent.frame())
   19.             ├─stats::simulate(...)
   20.             └─ergm:::simulate.formula_lhs_network(...)
   21.               ├─ergm::simulate_formula(...)
   22.               ├─tergm:::simulate_formula.network(...)
   23.               │ └─base::eval.parent(mc)
   24.               │   └─base::eval(expr, p)
   25.               │     └─base::eval(expr, p)
   26.               └─ergm (local) `<fn>`(...)
   27.                 ├─ergm::ergm_proposal(...)
   28.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error (???): EpiModel terms produce correct change statistics ───────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. ├─stats::simulate(...)
    2. └─ergm:::simulate.formula_lhs_network(...)
    3.   ├─ergm::simulate_formula(...)
    4.   ├─tergm:::simulate_formula.network(...)
    5.   │ └─base::eval.parent(mc)
    6.   │   └─base::eval(expr, p)
    7.   │     └─base::eval(expr, p)
    8.   └─ergm (local) `<fn>`(...)
    9.     ├─ergm::ergm_proposal(...)
   10.     └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-trackers.R:54'): netsim, SI, custom trackers ───────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-trackers.R:54: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-transmat-dendo.R:13'): (code run outside of `test_that()`) ─────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est1, param, init, control) at test-transmat-dendo.R:13:0
    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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-updater.R:69'): netsim with param updater ──────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  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_network(...)
   18.               ├─ergm::simulate_formula(...)
   19.               ├─tergm:::simulate_formula.network(...)
   20.               │ └─base::eval.parent(mc)
   21.               │   └─base::eval(expr, p)
   22.               │     └─base::eval(expr, p)
   23.               └─ergm (local) `<fn>`(...)
   24.                 ├─ergm::ergm_proposal(...)
   25.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-utils.R:38'): color_tea ────────────────────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. └─EpiModel::netsim(est, param, init, control) at test-utils.R:38: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_network(...)
   13.               ├─ergm::simulate_formula(...)
   14.               ├─tergm:::simulate_formula.network(...)
   15.               │ └─base::eval.parent(mc)
   16.               │   └─base::eval(expr, p)
   17.               │     └─base::eval(expr, p)
   18.               └─ergm (local) `<fn>`(...)
   19.                 ├─ergm::ergm_proposal(...)
   20.                 └─ergm:::ergm_proposal.NULL(...)
  ── Error ('test-utils.R:117'): get_degree ──────────────────────────────────────
  Error in `ergm_proposal.NULL(constraints, arguments = if (observational) control$obs.MCMC.prop.args else control$MCMC.prop.args, 
      nw = nw, hints = if (observational) control$obs.MCMC.prop else control$MCMC.prop, 
      weights = if (observational) control$obs.MCMC.prop.weights else control$MCMC.prop.weights, 
      class = "c", reference = reference, term.options = control$term.options)`: NULL passed to ergm_proposal. This may be due to passing an ergm object from an earlier version. If this is the case, please refit it with the latest version, and try again. If this is not the case, this may be a bug, so please file a bug report.
  Backtrace:
       ▆
    1. ├─stats::simulate(fit, dynamic = FALSE) at test-utils.R:117:2
    2. └─ergm:::simulate.ergm(fit, dynamic = FALSE)
    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_network(...)
    9.     ├─ergm::simulate_formula(...)
   10.     ├─tergm:::simulate_formula.network(...)
   11.     │ └─base::eval.parent(mc)
   12.     │   └─base::eval(expr, p)
   13.     │     └─base::eval(expr, p)
   14.     └─ergm (local) `<fn>`(...)
   15.       ├─ergm::ergm_proposal(...)
   16.       └─ergm:::ergm_proposal.NULL(...)
  
  [ FAIL 49 | WARN 1 | SKIP 123 | PASS 287 ]
  Error: Test failures
  Execution halted