Running 'test-all.R' [92s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(testthat)
  > test_check("EpiModel")
  Loading required package: EpiModel
  Loading required package: deSolve
  Loading required package: networkDynamic
  Loading required package: network
  
  'network' 1.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' 4.0.1 (2021-06-24), 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: 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...
  Sim = 1/5
  Sim = 2/5
  Sim = 3/5
  Sim = 4/5
  Sim = 5/5
  Starting Network Simulation...
  Sim = 1/5
  Sim = 2/5
  Sim = 3/5
  Sim = 4/5
  Sim = 5/5
  Starting Network Simulation...
  Starting Network Simulation...
  Starting Network Simulation...
  Starting Network Simulation...
  Starting Network Simulation...
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 2/5
  Prevalence: 14
  Population Size: 1000
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 3/5
  Prevalence: 24
  Population Size: 1000
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 4/5
  Prevalence: 32
  Population Size: 1000
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 5/5
  Prevalence: 43
  Population Size: 1000
  ----------------------------
  Starting Network Simulation...EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 1
  Time Steps per Sim: 10
  
  Formation Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SD
  edges     15     13.9   -7.333     NA
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration   20.00   20.016    0.078     NA
  Pct Edges Diss   0.05    0.048   -4.377     NA
  EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 10
  
  Formation Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SD
  edges     15     11.4      -24  2.121
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration   20.00   19.925   -0.375  0.031
  Pct Edges Diss   0.05    0.063   26.104  0.003
  EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 10
  
  Formation Diagnostics
  ----------------------- 
             Target Sim Mean Pct Diff Sim SD
  edges          15     16.5       10  3.960
  concurrent     NA      7.7       NA  3.818
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration   20.00   20.096    0.481  0.033
  Pct Edges Diss   0.05    0.043  -13.210  0.010
  EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 10
  
  Formation Diagnostics
  ----------------------- 
          Target Sim Mean Pct Diff Sim SD
  meandeg     NA    0.648       NA  0.091
  edges       15       NA       NA     NA
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration   20.00   19.804   -0.978  0.711
  Pct Edges Diss   0.05    0.040  -20.409  0.001
  
  Network Diagnostics
  -----------------------
  - Simulating 2 networks
    |**|
  - Calculating formation statistics
  - Calculating duration statistics
    |**|
  - Calculating dissolution statistics
    |**|
   
  Network Diagnostics
  -----------------------
  - Simulating 1 network
  - Calculating formation statisticsEpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 50
  
  Formation Diagnostics
  ----------------------- 
                      Target Sim Mean Pct Diff Sim SD
  edges                   15    16.99   13.267  2.305
  offset(mix.loc.0.1)     NA     0.00       NA  0.000
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration  40.000   41.019    2.548  0.830
  Pct Edges Diss  0.025    0.028   11.412  0.019
  EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 50
  
  Formation Diagnostics
  ----------------------- 
                Target Sim Mean Pct Diff Sim SD
  edges             15   15.340    2.267  0.339
  meandeg           NA    0.614       NA  0.014
  concurrent        NA    6.490       NA  0.750
  nodematch.loc     NA   15.340       NA  0.339
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration  40.000   40.624    1.559  0.476
  Pct Edges Diss  0.025    0.024   -4.092  0.000
  EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 50
  
  Formation Diagnostics
  ----------------------- 
              Target Sim Mean Pct Diff Sim SD
  edges           15    12.06    -19.6  1.527
  mix.loc.0.1      0     0.00      NaN  0.000
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration  40.000   39.884   -0.291  0.026
  Pct Edges Diss  0.025    0.030   18.099  0.003
  
  Network Diagnostics
  -----------------------
  - Simulating 250 networks
  - Calculating formation statistics
  Network Diagnostics
  -----------------------
  - Simulating 2 networks
    |
  Network Diagnostics
  -----------------------
  - Simulating 2 networks
    |**|
  - Calculating formation statistics
  - Calculating duration statistics
    |**|
  - Calculating dissolution statistics
    |**|
   
  Network Diagnostics
  -----------------------
  - Simulating 2 networks
    |
  Network Diagnostics
  -----------------------
  - Simulating 2 networks
    |**|
  - Calculating formation statistics
  - Calculating duration statistics
    |**|
  - Calculating dissolution statistics
    |**|
   
  Starting Network Simulation...
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 2/5
  Prevalence: 9
  Population Size: 49
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 3/5
  Prevalence: 8
  Population Size: 47
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 4/5
  Prevalence: 8
  Population Size: 47
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 5/5
  Prevalence: 8
  Population Size: 47
  ----------------------------
  Starting Network Simulation...
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 2/10
  Prevalence: 14
  Population Size: 49
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 3/10
  Prevalence: 14
  Population Size: 49
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 4/10
  Prevalence: 14
  Population Size: 49
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 5/10
  Prevalence: 15
  Population Size: 49
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 6/10
  Prevalence: 16
  Population Size: 49
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 7/10
  Prevalence: 17
  Population Size: 49
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 8/10
  Prevalence: 18
  Population Size: 49
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 9/10
  Prevalence: 19
  Population Size: 49
  ----------------------------
  Epidemic Simulation
  ----------------------------
  Simulation: 1/1
  Timestep: 10/10
  Prevalence: 18
  Population Size: 48
  ----------------------------
  Starting Network Simulation...
  Sim = 1/1
  1/10	
  2/10	
  3/10	
  4/10	
  5/10	
  6/10	
  7/10	
  8/10	
  9/10	
  10/10	== Skipped tests ===============================================================
  * On CRAN (82)
  
  == Failed tests ================================================================
  -- Error (test-net-tergmLite.R:20:3): tergmLite: 1G, Closed --------------------
  Error: The combination of class (f), model constraints and hints ('.attributes' and 'sparse'), reference measure ("Bernoulli"), proposal weighting (default), and conjunctions and disjunctions is not implemented. Check your arguments for typos. 
  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.           \-tergmLite::init_tergmLite(dat)
    9.             \-tergmLite:::stergm_prep(...)
   10.               +-ergm::ergm_proposal(...)
   11.               \-ergm:::ergm_proposal.formula(...)
   12.                 +-ergm::ergm_proposal(conlist, arguments, nw, ..., term.options = term.options)
   13.                 \-ergm:::ergm_proposal.ergm_conlist(...)
   14.                   \-ergm:::select_ergm_proposal(...)
  -- Error (test-net-tergmLite.R:65:3): tergmLite: 2G, Closed --------------------
  Error: The combination of class (f), model constraints and hints ('.attributes' and 'sparse'), reference measure ("Bernoulli"), proposal weighting (default), and conjunctions and disjunctions is not implemented. Check your arguments for typos. 
  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.           \-tergmLite::init_tergmLite(dat)
    9.             \-tergmLite:::stergm_prep(...)
   10.               +-ergm::ergm_proposal(...)
   11.               \-ergm:::ergm_proposal.formula(...)
   12.                 +-ergm::ergm_proposal(conlist, arguments, nw, ..., term.options = term.options)
   13.                 \-ergm:::ergm_proposal.ergm_conlist(...)
   14.                   \-ergm:::select_ergm_proposal(...)
  -- Error (test-net-tergmLite.R:113:3): tergmLite: 1G, Open ---------------------
  Error: The combination of class (f), model constraints and hints ('.attributes' and 'sparse'), reference measure ("Bernoulli"), proposal weighting (default), and conjunctions and disjunctions is not implemented. Check your arguments for typos. 
  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.           \-tergmLite::init_tergmLite(dat)
    9.             \-tergmLite:::stergm_prep(...)
   10.               +-ergm::ergm_proposal(...)
   11.               \-ergm:::ergm_proposal.formula(...)
   12.                 +-ergm::ergm_proposal(conlist, arguments, nw, ..., term.options = term.options)
   13.                 \-ergm:::ergm_proposal.ergm_conlist(...)
   14.                   \-ergm:::select_ergm_proposal(...)
  -- Error (test-net-tergmLite.R:167:3): tergmLite: 2G, Open ---------------------
  Error: The combination of class (f), model constraints and hints ('.attributes' and 'sparse'), reference measure ("Bernoulli"), proposal weighting (default), and conjunctions and disjunctions is not implemented. Check your arguments for typos. 
  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.           \-tergmLite::init_tergmLite(dat)
    9.             \-tergmLite:::stergm_prep(...)
   10.               +-ergm::ergm_proposal(...)
   11.               \-ergm:::ergm_proposal.formula(...)
   12.                 +-ergm::ergm_proposal(conlist, arguments, nw, ..., term.options = term.options)
   13.                 \-ergm:::ergm_proposal.ergm_conlist(...)
   14.                   \-ergm:::select_ergm_proposal(...)
  -- Error (test-net-tergmLite.R:221:3): Models with duration = 1 ----------------
  Error: argument "state" is missing, with no default
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-net-tergmLite.R:221: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(control[[current_mod]], list(dat, at))
    7.         \-(function (dat, at) ...
    8.           \-tergmLite::simulate_ergm(p = dat$p[[1]], el = dat$el[[1]], coef = nwparam$coef.form)
    9.             \-tergmLite:::ergm_getMCMCsample(...)
   10.               \-ergm::ergm_MCMC_slave(...)
   11.                 \-ergm::is.valued(state)
  -- Error (test-newmodules.R:118:3): New network models vignette example --------
  Error: The combination of class (f), model constraints and hints ('.attributes' and 'sparse'), reference measure ("Bernoulli"), proposal weighting (default), and conjunctions and disjunctions is not implemented. Check your arguments for typos. 
  Backtrace:
       x
    1. \-EpiModel::netsim(est, param, init, control) test-newmodules.R:118: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.           \-tergmLite::init_tergmLite(dat)
    9.             \-tergmLite:::stergm_prep(...)
   10.               +-ergm::ergm_proposal(...)
   11.               \-ergm:::ergm_proposal.formula(...)
   12.                 +-ergm::ergm_proposal(conlist, arguments, nw, ..., term.options = term.options)
   13.                 \-ergm:::ergm_proposal.ergm_conlist(...)
   14.                   \-ergm:::select_ergm_proposal(...)
  
  [ FAIL 6 | WARN 3 | SKIP 82 | PASS 379 ]
  Error: Test failures
  Execution halted