- using R version 4.4.1 (2024-06-14 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.2.0
GNU Fortran (GCC) 13.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'bigergm/DESCRIPTION' ... OK
- this is package 'bigergm' version '1.2.1'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'bigergm' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 13.2.0'
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [3s] OK
- checking whether the package can be unloaded cleanly ... [3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] OK
- checking loading without being on the library search path ... [3s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [9s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [11s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [9s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [144s] ERROR
Running 'testthat.R' [144s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(bigergm)
Loading required package: ergm
Loading required package: network
'network' 1.18.2 (2023-12-04), 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
'ergm' 4.6.0 (2023-12-17), 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.
Loading required package: Rcpp
>
> test_check("bigergm")
Compute pi for pi_s0v0w0
[1] 1
Compute pi for pi_s1v0w0
[1] 2
Compute pi for pi_s0v1w0
[1] 3
Compute pi for pi_s1v1w0
[1] 4
Compute pi for pi_s0v0w1
[1] 5
Compute pi for pi_s1v0w1
[1] 6
Compute pi for pi_s0v1w1
[1] 7
Compute pi for pi_s1v1w1
[1] 8
Compute pi for pi_s0v0w0
Compute pi for pi_s1v0w0
Compute pi for pi_s0v1w0
Compute pi for pi_s1v1w0
Compute pi for pi_s0v0w1
Compute pi for pi_s1v0w1
Compute pi for pi_s0v1w1
Compute pi for pi_s1v1w1
Compute pi for pi_s0v0w0
Compute pi for pi_s1v0w0
Compute pi for pi_s0v1w0
Compute pi for pi_s1v1w0
Compute pi for pi_s0v0w1
Compute pi for pi_s1v0w1
Compute pi for pi_s0v1w1
Compute pi for pi_s1v1w1
Compute pi for pi_s0v0w0
[1] 1
Compute pi for pi_s1v0w0
[1] 2
Compute pi for pi_s0v1w0
[1] 3
Compute pi for pi_s1v1w0
[1] 4
Compute pi for pi_s0v0w1
[1] 5
Compute pi for pi_s1v0w1
[1] 6
Compute pi for pi_s0v1w1
[1] 7
Compute pi for pi_s1v1w1
[1] 8
Compute pi for pi_s0v0w0
[1] 1
Compute pi for pi_s1v0w0
[1] 2
Compute pi for pi_s0v1w0
[1] 3
Compute pi for pi_s1v1w0
[1] 4
Compute pi for pi_s0v0w1
[1] 5
Compute pi for pi_s1v0w1
[1] 6
Compute pi for pi_s0v1w1
[1] 7
Compute pi for pi_s1v1w1
[1] 8
[ FAIL 2 | WARN 3 | SKIP 3 | PASS 184 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-EM-checkpoint.R:2:3', 'test-cache.R:49:3',
'test-start-from-given-cluster.R:2:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gof.R:401:3'): Return GOF statistics including only within-block connections ──
Error in `ergm_Init_abort(e$message)`: In term 'esp' in package 'ergm': NA/NaN argument
Backtrace:
▆
1. ├─ergm::gof(...) at test-gof.R:401:3
2. └─bigergm:::gof.bigergm(...)
3. └─base::mapply(...)
4. └─bigergm (local) `<fn>`(...)
5. └─bigergm:::get_gof_stats(...)
6. └─bigergm:::to_edgewise_shared_partners_df(net, to = to)
7. ├─base::summary(net ~ esp(1:to))
8. ├─ergm:::summary.formula(net ~ esp(1:to))
9. │ ├─ergm::summary_formula(object, ...)
10. │ └─ergm:::summary_formula.network(object, ...)
11. │ └─ergm::ergm_model(object, basis, ...)
12. │ └─ergm::call.ErgmTerm(...)
13. │ └─base::eval(termCall, env)
14. │ └─base::eval(termCall, env)
15. └─ergm:::InitErgmTerm.esp(`<network>`, list(1:to), env = `<env>`)
16. └─ergm:::.d_sp_impl("e", nw, arglist, cache.sp, ...)
17. └─ergm::check.ErgmTerm(...)
18. └─ergm::ergm_Init_try(arglist <- as.list(arglist))
19. └─base::tryCatch(eval(expr, parent.frame(1)), error = function(e) ergm_Init_abort(e$message))
20. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. └─value[[3L]](cond)
23. └─ergm::ergm_Init_abort(e$message)
24. └─rlang::abort(...)
── Error ('test-gof.R:462:3'): Within-connections GOF can be started from the observed network ──
Error in `ergm_Init_abort(e$message)`: In term 'esp' in package 'ergm': NA/NaN argument
Backtrace:
▆
1. ├─ergm::gof(...) at test-gof.R:462:3
2. └─bigergm:::gof.bigergm(...)
3. └─base::mapply(...)
4. └─bigergm (local) `<fn>`(...)
5. └─bigergm:::get_gof_stats(...)
6. └─bigergm:::to_edgewise_shared_partners_df(net, to = to)
7. ├─base::summary(net ~ esp(1:to))
8. ├─ergm:::summary.formula(net ~ esp(1:to))
9. │ ├─ergm::summary_formula(object, ...)
10. │ └─ergm:::summary_formula.network(object, ...)
11. │ └─ergm::ergm_model(object, basis, ...)
12. │ └─ergm::call.ErgmTerm(...)
13. │ └─base::eval(termCall, env)
14. │ └─base::eval(termCall, env)
15. └─ergm:::InitErgmTerm.esp(`<network>`, list(1:to), env = `<env>`)
16. └─ergm:::.d_sp_impl("e", nw, arglist, cache.sp, ...)
17. └─ergm::check.ErgmTerm(...)
18. └─ergm::ergm_Init_try(arglist <- as.list(arglist))
19. └─base::tryCatch(eval(expr, parent.frame(1)), error = function(e) ergm_Init_abort(e$message))
20. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. └─value[[3L]](cond)
23. └─ergm::ergm_Init_abort(e$message)
24. └─rlang::abort(...)
[ FAIL 2 | WARN 3 | SKIP 3 | PASS 184 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [44s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR