Last updated on 2026-04-15 03:54:47 CEST.
| Package | ERROR | OK |
|---|---|---|
| usportsR | 1 | 13 |
Current CRAN status: ERROR: 1, OK: 13
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [22s/445s]
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(usportsR)
>
> test_check("usportsR")
Saving _problems/test-basketball_pbp-4.R
Saving _problems/test-volleyball_pbp-4.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 85 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-basketball_pbp.R:4:3'): basketball_pbp() mens works ──────────
Expected `nrow(mens_2019_pbp) != 0` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-volleyball_pbp.R:4:3'): volleyball_pbp() test ────────────────
Expected `nrow(pbp_2019) != 0` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 85 ]
Error:
! Test failures.
Execution halted
Flavor: r-patched-linux-x86_64