Running 'test-all.R' [31s]
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.17.1 (2021-06-12), 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.0 (2021-06-12), 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.0.1 (2021-06-20), 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' 3.7.0 (2020-10-15), 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
  
  Loading required package: tergmLite
  EpiModel NOTE: EpiModel 2.0 implements significant changes to the
  EpiModel application programming interface (API), which may require
  updates to model code written under EpiModel 1.x. See
  https://epimodel.org/ for migration guidance.
  
  
  Starting Network Simulation...
  Starting Network Simulation...
  Starting Network Simulation...
  Starting Network Simulation...
  Starting Network Simulation...
  Starting Network Simulation...
  Network Diagnostics
  -----------------------
  - Simulating 2 networks
    |
  Network Diagnostics
  -----------------------
  - Simulating 1 network
  Network Diagnostics
  -----------------------
  - Simulating 250 networks
  - Calculating formation statistics
  Network Diagnostics
  -----------------------
  - Simulating 2 networks
    |
  Network Diagnostics
  -----------------------
  - Simulating 2 networks
    |
  Network Diagnostics
  -----------------------
  - Simulating 2 networks
    |
  Network Diagnostics
  -----------------------
  - Simulating 2 networks
    |
  Starting Network Simulation...
  Starting Network Simulation...== Skipped tests ===============================================================
  * On CRAN (79)
  
  == Failed tests ================================================================
  -- Error (test-attr-copy.R:25:3): Copying attributes from network to attribute list --
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-attr-copy.R:25:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-get.R:18:1): (code run outside of `test_that()`) ----------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-get.R:18:0
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-merge.R:71:3): merge for netsim ---------------------------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-merge.R:71:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-merge.R:90:3): merge for netsim ---------------------------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-merge.R:90:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-merge.R:113:3): merge works for open sims saving nw stats -------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-merge.R:113:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-mutate.R:16:3): mutate_epi.netsim -------------------------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est1, param, init, control) test-mutate.R:16:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-net-long.R:749:3): status.vector and infTime.vector -------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est1, param, init, control) test-net-long.R:749:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-net-tergmLite.R:20:3): tergmLite: 1G, Closed --------------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-net-tergmLite.R:20:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-net-tergmLite.R:65:3): tergmLite: 2G, Closed --------------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-net-tergmLite.R:65:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-net-tergmLite.R:113:3): tergmLite: 1G, Open ---------------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-net-tergmLite.R:113:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-net-tergmLite.R:167:3): tergmLite: 2G, Open ---------------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-net-tergmLite.R:167:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-net-tergmLite.R:217:3): Models with duration = 1 ----------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-net-tergmLite.R:217:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netattr.R:27:3): Updating attributes in open populations --------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est1, param, init, control) test-netattr.R:27:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netdx.R:12:3): Edges only models --------------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::netdx(est1, nsims = 1, nsteps = 10, verbose = FALSE) test-netdx.R:12:2
   2.   +-stats::simulate(...)
   3.   \-tergm:::simulate.network(...)
   4.     \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netdx.R:70:3): Formation plot color vector length ---------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::netdx(...) test-netdx.R:70:2
   2.   +-stats::simulate(...)
   3.   \-tergm:::simulate.network(...)
   4.     \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netdx.R:86:3): Netdx duration and dissolution plots error when
            skip.dissolution = TRUE --
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::netdx(est, nsims = 1, nsteps = 500, skip.dissolution = TRUE) test-netdx.R:86:2
   2.   +-stats::simulate(...)
   3.   \-tergm:::simulate.network(...)
   4.     \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netdx.R:105:3): Offset terms ------------------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::netdx(est2, nsims = 2, nsteps = 50, verbose = FALSE) test-netdx.R:105:2
   2.   +-stats::simulate(...)
   3.   \-tergm:::simulate.network(...)
   4.     \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netdx.R:142:3): Faux offset term --------------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::netdx(est3, nsims = 2, nsteps = 50, verbose = FALSE) test-netdx.R:142:2
   2.   +-stats::simulate(...)
   3.   \-tergm:::simulate.network(...)
   4.     \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netdx.R:260:3): print.netdx output ------------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::netdx(est, nsims = 1, nsteps = 10, verbose = FALSE) test-netdx.R:260:2
   2.   +-stats::simulate(...)
   3.   \-tergm:::simulate.network(...)
   4.     \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Failure (test-netest.R:275:3): environment handling in non-nested EDA -------
  `netdx_1 <- netdx(netest_1, nsims = 2, nsteps = 5, dynamic = TRUE)` threw an error with unexpected message.
  Expected match: "object 'a' not found"
  Actual message: "could not find function \"is.durational\""
  Backtrace:
      x
   1. +-testthat::expect_error(...) test-netest.R:275:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-EpiModel::netdx(netest_1, nsims = 2, nsteps = 5, dynamic = TRUE)
   7.   +-stats::simulate(...)
   8.   \-tergm:::simulate.network(...)
   9.     \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Failure (test-netest.R:285:3): environment handling in non-nested EDA -------
  `netdx_2 <- netdx(netest_2, nsims = 2, nsteps = 5, dynamic = TRUE)` threw an error.
  Message: could not find function "is.durational"
  Class:   simpleError/error/condition
  Backtrace:
      x
   1. +-testthat::expect_error(...) test-netest.R:285:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-EpiModel::netdx(netest_2, nsims = 2, nsteps = 5, dynamic = TRUE)
   7.   +-stats::simulate(...)
   8.   \-tergm:::simulate.network(...)
   9.     \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Failure (test-netest.R:301:3): environment handling in non-nested EDA -------
  `netdx_3 <- netdx(netest_3, nsims = 2, nsteps = 5, dynamic = TRUE)` threw an error with unexpected message.
  Expected match: "object 'x' not found"
  Actual message: "could not find function \"is.durational\""
  Backtrace:
      x
   1. +-testthat::expect_error(...) test-netest.R:301:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-EpiModel::netdx(netest_3, nsims = 2, nsteps = 5, dynamic = TRUE)
   7.   +-stats::simulate(...)
   8.   \-tergm:::simulate.network(...)
   9.     \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Failure (test-netest.R:305:3): environment handling in non-nested EDA -------
  `netdx_4 <- netdx(netest_4, nsims = 2, nsteps = 5, dynamic = TRUE)` threw an error.
  Message: could not find function "is.durational"
  Class:   simpleError/error/condition
  Backtrace:
      x
   1. +-testthat::expect_error(...) test-netest.R:305:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-EpiModel::netdx(netest_4, nsims = 2, nsteps = 5, dynamic = TRUE)
   7.   +-stats::simulate(...)
   8.   \-tergm:::simulate.network(...)
   9.     \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netoffset.R:13:3): netsim works with standard offset models -----
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-netoffset.R:13:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netoffset.R:31:3): netsim works with faux offset models ---------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-netoffset.R:31:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netsim.R:16:3): netsim for edges only, SI, one-mode, closed, 1 sim --
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-netsim.R:16:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netsim.R:28:3): netsim for edges only, SI, one-mode, closed, 2 sim --
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-netsim.R:28:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netsim.R:40:3): netsim for edges only, SIS, one-mode, closed, 1 sim --
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-netsim.R:40:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netsim.R:52:3): netsim for edges only, SIS, one-mode, closed, 2 sim --
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-netsim.R:52:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netsim.R:60:3): netsim for edges only, SIR, one-mode, closed, 1 sim --
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-netsim.R:60:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netsim.R:72:3): netsim for edges only, SIR, one-mode, closed, 2 sim --
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-netsim.R:72:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netsim.R:91:3): netsim implicit save.network option -------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est1, param, init, control) test-netsim.R:91:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netvary.R:26:3): time varying parameters for one-mode -----------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est1, param, init, control) test-netvary.R:26:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-netvary.R:61:3): time varying parameters for two-group models ---
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est1, param, init, control) test-netvary.R:61:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-newmodules.R:87:3): New network models vignette example ---------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-newmodules.R:87:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-print.R:53:3): print.netsim -------------------------------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-print.R:53:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-transmat-dendo.R:13:1): (code run outside of `test_that()`) -----
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est1, param, init, control) test-transmat-dendo.R:13:0
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-utils.R:38:3): color_tea ----------------------------------------
  Error: could not find function "is.durational"
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-utils.R:38:2
    2.   \-base::lapply(...)
    3.     \-EpiModel:::FUN(X[[i]], ...)
    4.       \-EpiModel:::netsim_loop(x, param, init, control, s)
    5.         +-base::withCallingHandlers(...)
    6.         +-base::do.call(...)
    7.         \-(function (x, param, init, control, s) ...
    8.           \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
    9.             +-base::suppressWarnings(...)
   10.             | \-base::withCallingHandlers(...)
   11.             +-stats::simulate(...)
   12.             \-tergm:::simulate.network(...)
   13.               \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  
  [ FAIL 38 | WARN 1 | SKIP 79 | PASS 278 ]
  Error: Test failures
  Execution halted