You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: 1.22.12
Check: tests
Result: ERROR
Running ‘testthat.R’ [129s/139s]
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
80 Alters
Min. Netsize 8
Average Netsize 16
Max. Netsize 19
Average Density 0.511853008747359
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
80 Alters
Min. Netsize 8
Average Netsize 16
Max. Netsize 19
Average Density 0.511853008747359
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
31 Alters
Min. Netsize 7
Average Netsize 10.3333333333333
Max. Netsize 12
Average Density 0.492063492063492
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
The text was updated successfully, but these errors were encountered:
From https://cran.r-project.org/web/checks/check_results_egor.html:
The text was updated successfully, but these errors were encountered: