CRAN Package Check Results for Maintainer ‘Shamar Phillips <slphilli at uwaterloo.ca>’

Last updated on 2026-04-09 05:52:12 CEST.

Package ERROR OK
usportsR 2 12

Package usportsR

Current CRAN status: ERROR: 2, OK: 12

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [11s/446s] 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-tnf_athlete_rankings-4.R Saving _problems/test-volleyball_pbp-4.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 84 ] ══ 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-tnf_athlete_rankings.R:4:3'): tnf_athlete_rankings() test ──── Expected `nrow(athletes) != 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 3 | WARN 0 | SKIP 0 | PASS 84 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

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