Last updated on 2024-11-15 19:49:57 CET.
Package | ERROR | OK |
---|---|---|
fucom | 1 | 12 |
rafsi | 13 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.0.2
Check: tests
Result: ERROR
Running 'testthat.R' [1s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(fucom)
>
> test_check("fucom")
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 8 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-fucom.R:85:3'): Test data from DOI org/10.3390/sym10090393 (Another Example) ──
round(as.vector(result$weights[]), digits = 4) (`actual`) not equal to c(0.4211, 0.2105, 0.2105, 0.1053, 0.0526) (`expected`).
`actual`: 0.41940 0.21890 0.20600 0.10500 0.05070
`expected`: 0.42110 0.21050 0.21050 0.10530 0.05260
── Failure ('test-fucom.R:91:3'): Test data from DOI org/10.3390/sym10090393 (Another Example) ──
round(as.vector(result$DFC), digits = 4) (`actual`) not equal to 0 (`expected`).
`actual`: 0.084
`expected`: 0.000
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 8 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Current CRAN status: OK: 13