Running ‘testthat.R’ [134s/147s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(egor)
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Loading required package: tibble
  > library(dplyr)
  > 
  > test_check("egor")
  5 Egos/ Ego Networks 
  63 Alters 
  Min. Netsize 6 
  Average Netsize 12.6 
  Max. Netsize 17 
  Average Density 0.485628485628486 
  
  Ego sampling design:
  Independent Sampling design (with replacement)
  Called via srvyr
  Sampling variables:
   - ids: `1`
   - weights: sampling_weight
  Data variables: .egoID (dbl), sex (chr), age (fct), age.years (int), country
    (chr), income (dbl), sampling_weight (dbl), avg_nts (dbl)
  Alter survey design:
    Maximum nominations: Inf 
  5 Egos/ Ego Networks 
  63 Alters 
  Min. Netsize 6 
  Average Netsize 12.6 
  Max. Netsize 17 
  Average Density 0.485628485628486 
  
  Ego sampling design:
  Independent Sampling design (with replacement)
  Called via srvyr
  Sampling variables:
   - ids: `1`
   - weights: sampling_weight
  Data variables: .egoID (dbl), sex (chr), age (fct), age.years (int), country
    (chr), income (dbl), sampling_weight (dbl), avg_nts (dbl)
  Alter survey design:
    Maximum nominations: Inf 
  3 Egos/ Ego Networks 
  37 Alters 
  Min. Netsize 9 
  Average Netsize 12.3333333333333 
  Max. Netsize 18 
  Average Density 0.462309368191721 
  Alter survey design:
    Maximum nominations: Inf 
  32 Egos/ Ego Networks 
  384 Alters 
  Min. Netsize 12 
  Average Netsize 12 
  Max. Netsize 12 
  Average Density 0.5 
  
  Ego sampling design:
  Independent Sampling design (with replacement)
  Called via srvyr
  Data variables: .egoID (dbl), sex (fct), age (fct), age.years (int), country
    (chr), income (dbl), avg_nts (dbl)
  Alter survey design:
    Maximum nominations: Inf 
  5 Egos/ Ego Networks 
  16 Alters 
  Min. Netsize 4 
  Average Netsize 4 
  Max. Netsize 4 
  Average Density 1.33333333333333 
  Alter survey design:
    Maximum nominations: Inf 
  4 Egos/ Ego Networks 
  16 Alters 
  Min. Netsize 4 
  Average Netsize 4 
  Max. Netsize 4 
  Average Density 1.33333333333333 
  Alter survey design:
    Maximum nominations: Inf 
  Sorting data by egoID: Transforming alters data to long format: Transforming wide dyad data to edgelist: Sorting data by egoID: Transforming alters data to long format: Transforming wide dyad data to edgelist: Filtering out empty alter entries using provided network size values: Sorting data by egoID: Transforming alters data to long format: Transforming wide dyad data to edgelist: [ FAIL 1 | WARN 8 | SKIP 15 | PASS 205 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (15)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-clustered_graphs.R:55'): Methods work (properly) with grouping variable being completly NA. ──
  igraph::V(clustered_graphs(mpf, "country")[[1]])$grp.size is not NULL
  
  `actual` is a double vector ()
  `expected` is NULL
  
  [ FAIL 1 | WARN 8 | SKIP 15 | PASS 205 ]
  Error: Test failures
  Execution halted