Last updated on 2024-12-22 10:50:34 CET.
Package | ERROR | OK |
---|---|---|
missCompare | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [48s/95s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(missCompare)
Attaching package: 'missCompare'
The following object is masked from 'package:stats':
simulate
>
> test_check("missCompare")
[1] "random replacement imputation - in progress"
[1] "mice mixed imputation - in progress"
[1] "mi imputation - in progress"
starting worker pid=4008824 on localhost:11592 at 01:35:23.369
starting worker pid=4008825 on localhost:11592 at 01:35:23.378
[1] "missForest imputation - in progress"
[1] "Hmisc aregImpute imputation - in progress"
[1] "VIM kNN imputation - in progress"
[1] "random replacement imputation - in progress"
[1] "mice mixed imputation - in progress"
[1] "mi imputation - in progress"
starting worker pid=4011157 on localhost:11592 at 01:35:31.875
starting worker pid=4011156 on localhost:11592 at 01:35:31.980
[1] "missForest imputation - in progress"
[1] "Hmisc aregImpute imputation - in progress"
[1] "VIM kNN imputation - in progress"
[1] "random replacement imputation - in progress"
[1] "Median imputation - in progress"
[1] "Mean imputation - in progress"
[1] "missMDA regularized imputation - in progress"
[1] "missMDA EM imputation - in progress"
[1] "pcaMethods PPCA imputation - in progress"
[1] "pcaMethods svdImpute imputation - in progress"
[1] "pcaMethods BPCA imputation - in progress"
[1] "pcaMethods NIPALS imputation - in progress"
[1] "pcaMethods NLPCA imputation - in progress"
[1] "mice mixed imputation - in progress"
[1] "mi imputation - in progress"
starting worker pid=4017335 on localhost:11592 at 01:35:49.518
starting worker pid=4017334 on localhost:11592 at 01:35:49.572
[1] "Amelia II imputation - in progress"
[1] "missForest imputation - in progress"
[1] "Hmisc aregImpute imputation - in progress"
[1] "VIM kNN imputation - in progress"
[1] "random replacement imputation - in progress"
[1] "Median imputation - in progress"
[1] "Mean imputation - in progress"
[1] "missMDA regularized imputation - in progress"
[1] "missMDA EM imputation - in progress"
[1] "pcaMethods PPCA imputation - in progress"
[1] "pcaMethods svdImpute imputation - in progress"
[1] "pcaMethods BPCA imputation - in progress"
[1] "pcaMethods NIPALS imputation - in progress"
[1] "pcaMethods NLPCA imputation - in progress"
[1] "mice mixed imputation - in progress"
[1] "mi imputation - in progress"
starting worker pid=4025119 on localhost:11592 at 01:36:07.989
starting worker pid=4025120 on localhost:11592 at 01:36:08.032
[1] "Amelia II imputation - in progress"
[1] "missForest imputation - in progress"
[1] "Hmisc aregImpute imputation - in progress"
[1] "VIM kNN imputation - in progress"
[1] "Median imputation - in progress"
[1] "Mean imputation - in progress"
[1] "missMDA regularized imputation - in progress"
[1] "missMDA EM imputation - in progress"
[1] "pcaMethods svdImpute imputation - in progress"
[1] "pcaMethods BPCA imputation - in progress"
[1] "pcaMethods NIPALS imputation - in progress"
[1] "VIM kNN imputation - in progress"
[1] "random replacement imputation - in progress"
[1] "ITERATION 1 OF TOTAL 1 - IN PROGRESS"
[1] "random replacement imputation - in progress"
[1] "Median imputation - in progress"
[1] "Mean imputation - in progress"
[1] "missMDA regularized imputation - in progress"
[1] "missMDA EM imputation - in progress"
[1] "pcaMethods PPCA imputation - in progress"
[1] "pcaMethods svdImpute imputation - in progress"
[1] "pcaMethods BPCA imputation - in progress"
[1] "pcaMethods NIPALS imputation - in progress"
[1] "pcaMethods NLPCA imputation - in progress"
[1] "mice mixed imputation - in progress"
[1] "mi imputation - in progress"
starting worker pid=4037486 on localhost:11592 at 01:36:41.758
starting worker pid=4037485 on localhost:11592 at 01:36:41.835
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 35 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test.imp_simulation.R:17:3'): simulation runs without errors ──────
`impute_simulated(...)` threw an error.
Message: creation of server socket failed: port 11592 cannot be opened
Class: simpleError/error/condition
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test.imp_simulation.R:17:3
2. │ └─base::withCallingHandlers(...)
3. ├─testthat::expect_error(...)
4. │ └─testthat:::quasi_capture(...)
5. │ ├─testthat (local) .capture(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
8. └─missCompare::impute_simulated(...)
9. ├─base::as.data.frame(test_mi(sim$Simulated_matrix, list = res))
10. └─missCompare::test_mi(sim$Simulated_matrix, list = res)
11. ├─utils::capture.output(results <- lapply(list, mi_imp))
12. │ └─base::withVisible(...elt(i))
13. └─base::lapply(list, mi_imp)
14. └─missCompare (local) FUN(X[[i]], ...)
15. ├─mi::mi(as.data.frame(X), n.chain = 1, n.iter = 100, verbose = FALSE)
16. └─mi::mi(as.data.frame(X), n.chain = 1, n.iter = 100, verbose = FALSE)
17. └─mi (local) .local(y, ...)
18. ├─mi::mi(...)
19. └─mi::mi(...)
20. └─mi (local) .local(y, ...)
21. └─parallel::makeCluster(cores, outfile = "")
22. └─parallel::makePSOCKcluster(names = spec, ...)
23. └─base::serverSocket(port = port)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 35 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64