Last updated on 2026-01-19 01:50:28 CET.
| Package | ERROR | OK |
|---|---|---|
| xrf | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.3.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/7s]
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(xrf)
>
> test_check("xrf")
Saving _problems/test_model-64.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 35 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_model.R:64:3'): model predicts binary outcome ────────────────
Expected `mean(preds_response_dense)` to equal `mean(dataset$am == "1")`.
Differences:
`actual`: 0.406249992
`expected`: 0.406250000
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 35 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc