Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRAN check issue #82

Closed
krivit opened this issue Mar 14, 2023 · 2 comments
Closed

CRAN check issue #82

krivit opened this issue Mar 14, 2023 · 2 comments
Labels

Comments

@krivit
Copy link
Collaborator

krivit commented Mar 14, 2023

From https://cran.r-project.org/web/checks/check_results_egor.html:

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 
@krivit krivit added the bug label Mar 14, 2023
@krivit
Copy link
Collaborator Author

krivit commented Mar 14, 2023

@tilltnet , @raffaelevacca , @mbojan , egor will be taken off CRAN if not fixed by 2023-03-28.

@krivit krivit closed this as completed in d8bf125 Mar 15, 2023
@mbojan
Copy link
Collaborator

mbojan commented Mar 15, 2023

Thanks @krivit !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants