Running 'test-all.R' [389s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(testthat)
  > test_check("EpiModel")
  Loading required package: EpiModel
  Loading required package: deSolve
  Loading required package: networkDynamic
  Loading required package: network
  
  'network' 1.18.1 (2023-01-24), part of the Statnet Project
  * 'news(package="network")' for changes since last version
  * 'citation("network")' for citation information
  * 'https://statnet.org' for help, support, and other information
  
  
  'networkDynamic' 0.11.3 (2023-02-15), part of the Statnet Project
  * 'news(package="networkDynamic")' for changes since last version
  * 'citation("networkDynamic")' for citation information
  * 'https://statnet.org' for help, support, and other information
  
  Loading required package: tergm
  Loading required package: ergm
  
  'ergm' 4.4.0 (2023-01-26), part of the Statnet Project
  * 'news(package="ergm")' for changes since last version
  * 'citation("ergm")' for citation information
  * 'https://statnet.org' for help, support, and other information
  
  'ergm' 4 is a major update that introduces some backwards-incompatible
  changes. Please type 'news(package="ergm")' for a list of major
  changes.
  
  
  'tergm' 4.1.1 (2022-11-07), part of the Statnet Project
  * 'news(package="tergm")' for changes since last version
  * 'citation("tergm")' for citation information
  * 'https://statnet.org' for help, support, and other information
  
  
  Attaching package: 'tergm'
  
  The following object is masked from 'package:ergm':
  
      snctrl
  
  Loading required package: statnet.common
  
  Attaching package: 'statnet.common'
  
  The following object is masked from 'package:ergm':
  
      snctrl
  
  The following objects are masked from 'package:base':
  
      attr, order
  
  
  Network Diagnostics
  -----------------------
  - Simulating 10 networks
  - Calculating formation statisticsEpiModel Network Diagnostics
  =======================
  Diagnostic Method: Static
  Simulations: 10
  
  Formation Diagnostics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50     48.3     -3.4  1.732  -0.981            NA
  offset(deg6+)             NA      0.0       NA    NaN      NA            NA
  nodematch.sex              0      0.0      NaN    NaN     NaN            NA
  nodematch.race            20     20.1      0.5  0.936   0.107            NA
  deg6+                      0      0.0      NaN    NaN     NaN            NA
  offset(nodematch.sex)     NA      0.0       NA    NaN      NA            NA
  degree5                    0      0.0      NaN    NaN     NaN            NA
                        SD(Statistic)
  edges                         5.478
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                2.961
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  Network Diagnostics
  -----------------------
  - Simulating 10 networks
   |**********|
  - Calculating formation statisticsEpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 10
  Time Steps per Sim: 5
  
  Formation Diagnostics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50    47.70     -4.6  1.160  -1.982         8.107
  offset(deg6+)             NA     0.00       NA    NaN      NA         0.000
  nodematch.sex              0     0.00      NaN    NaN     NaN         0.000
  nodematch.race            20    19.92     -0.4  0.765  -0.105         6.072
  deg6+                      0     0.00      NaN    NaN     NaN         0.000
  offset(nodematch.sex)     NA     0.00       NA    NaN      NA         0.000
  degree5                    0     0.00      NaN    NaN     NaN         0.000
                        SD(Statistic)
  edges                         8.205
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                6.037
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  Duration Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges     10    9.571   -4.291  0.149  -2.886         1.241         1.296
  
  Dissolution Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges    0.1    0.101    0.657  0.005   0.134          0.02         0.046
  EpiModel Simulation
  =======================
  Model class: netsim
  
  Simulation Summary
  -----------------------
  Model type: SI
  No. simulations: 2
  No. time steps: 5
  No. NW groups: 1
  
  Fixed Parameters
  ---------------------------
  inf.prob = 0.3
  act.rate = 0.5
  groups = 1
  
  Model Output
  -----------------------
  Variables: s.num i.num num si.flow
  Networks: sim1 sim2
  Transmissions: sim1 sim2
  
  Formation Statistics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50     52.7      5.4  2.642   1.022         9.192
  offset(deg6+)             NA      0.0       NA    NaN      NA         0.000
  nodematch.sex              0      0.0      NaN    NaN     NaN         0.000
  nodematch.race            20     18.1     -9.5  1.059  -1.794         4.101
  deg6+                      0      0.0      NaN    NaN     NaN         0.000
  offset(nodematch.sex)     NA      0.0       NA    NaN      NA         0.000
  degree5                    0      0.0      NaN    NaN     NaN         0.000
                        SD(Statistic)
  edges                         8.354
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                3.348
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  
  Duration Statistics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges     10    9.364   -6.359  0.325  -1.959         0.825         1.026
  
  Dissolution Statistics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges    0.1     0.09  -10.358  0.011  -0.909         0.021         0.036
  
  
  Network Diagnostics
  -----------------------
  - Simulating 10 networks
  - Calculating formation statisticsEpiModel Network Diagnostics
  =======================
  Diagnostic Method: Static
  Simulations: 10
  
  Formation Diagnostics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50     51.3      2.6  0.871   1.493            NA
  offset(deg6+)             NA      0.0       NA    NaN      NA            NA
  nodematch.sex              0      0.0      NaN    NaN     NaN            NA
  nodematch.race            20     21.1      5.5  1.394   0.789            NA
  deg6+                      0      0.0      NaN    NaN     NaN            NA
  offset(nodematch.sex)     NA      0.0       NA    NaN      NA            NA
  degree5                    0      0.0      NaN    NaN     NaN            NA
                        SD(Statistic)
  edges                         7.349
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                4.408
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  Network Diagnostics
  -----------------------
  - Simulating 10 networks
   |**********|
  - Calculating formation statisticsEpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 10
  Time Steps per Sim: 5
  
  Formation Diagnostics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50    52.42     4.84  1.082   2.237         7.202
  offset(deg6+)             NA     0.00       NA    NaN      NA         0.000
  nodematch.sex              0     0.00      NaN    NaN     NaN         0.000
  nodematch.race            20    20.02     0.10  0.503   0.040         2.952
  deg6+                      0     0.00      NaN    NaN     NaN         0.000
  offset(nodematch.sex)     NA     0.00       NA    NaN      NA         0.000
  degree5                    0     0.00      NaN    NaN     NaN         0.000
                        SD(Statistic)
  edges                         7.651
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                3.554
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  Duration Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges     10    9.618   -3.823   0.21  -1.819         1.439         1.486
  
  Dissolution Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges    0.1      0.1    0.261  0.006   0.041         0.024         0.045
  EpiModel Simulation
  =======================
  Model class: netsim
  
  Simulation Summary
  -----------------------
  Model type: SI
  No. simulations: 2
  No. time steps: 5
  No. NW groups: 1
  
  Fixed Parameters
  ---------------------------
  inf.prob = 0.3
  act.rate = 0.5
  groups = 1
  
  Model Output
  -----------------------
  Variables: s.num i.num num si.flow
  Networks: sim1 sim2
  Transmissions: sim1 sim2
  
  Formation Statistics
  ----------------------- 
                        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means)
  edges                     50     51.2      2.4  0.727   1.650         1.131
  offset(deg6+)             NA      0.0       NA    NaN      NA         0.000
  nodematch.sex              0      0.0      NaN    NaN     NaN         0.000
  nodematch.race            20     16.7    -16.5  1.265  -2.608         4.950
  deg6+                      0      0.0      NaN    NaN     NaN         0.000
  offset(nodematch.sex)     NA      0.0       NA    NaN      NA         0.000
  degree5                    0      0.0      NaN    NaN     NaN         0.000
                        SD(Statistic)
  edges                         2.300
  offset(deg6+)                 0.000
  nodematch.sex                 0.000
  nodematch.race                4.001
  deg6+                         0.000
  offset(nodematch.sex)         0.000
  degree5                       0.000
  
  
  Duration Statistics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges     10   10.053    0.532  0.182   0.292         0.163         0.576
  
  Dissolution Statistics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SE Z Score SD(Sim Means) SD(Statistic)
  edges    0.1    0.103    2.673  0.007   0.389         0.006         0.033
  
  Error: memory exhausted (limit reached?)
  Execution halted
  [ FAIL 1 | WARN 1 | SKIP 120 | PASS 572 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (120)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-netsim-checkpoint.R:18:3'): netsim with checkpoint ─────────────
  Error in `makePSOCKcluster(names = spec, ...)`: Cluster setup failed. 2 of 2 workers failed to connect.
  Backtrace:
      ▆
   1. └─EpiModel::netsim(est, param, init, control) at test-netsim-checkpoint.R:18:2
   2.   └─doParallel::registerDoParallel(control$ncores)
   3.     └─parallel::makeCluster(cl)
   4.       └─parallel::makePSOCKcluster(names = spec, ...)
  
  [ FAIL 1 | WARN 1 | SKIP 120 | PASS 572 ]
  Error: Test failures
  Execution halted