Last updated on 2024-09-27 17:52:08 CEST.
Package | ERROR | OK |
---|---|---|
mtscr | 2 | 11 |
openscoring | 13 |
Current CRAN status: ERROR: 2, OK: 11
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [155s/217s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(mtscr)
>
> test_check("mtscr")
Data must not be grouped.
i It has been ungrouped.
Removed NA values from `score`
[ FAIL 1 | WARN 10 | SKIP 0 | PASS 81 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-mtscr_model.R:12:3'): mtscr_model() works as expected ────────
length(glmmTMB::ranef(model)) (`actual`) not equal to 2 (`expected`).
`actual`: 3
`expected`: 2
[ FAIL 1 | WARN 10 | SKIP 0 | PASS 81 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [141s/157s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(mtscr)
>
> test_check("mtscr")
Data must not be grouped.
i It has been ungrouped.
Removed NA values from `score`
[ FAIL 1 | WARN 8 | SKIP 0 | PASS 81 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-mtscr_model.R:12:3'): mtscr_model() works as expected ────────
length(glmmTMB::ranef(model)) (`actual`) not equal to 2 (`expected`).
`actual`: 3
`expected`: 2
[ FAIL 1 | WARN 8 | SKIP 0 | PASS 81 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Current CRAN status: OK: 13