Last updated on 2024-06-18 15:49:50 CEST.
Package | ERROR | OK |
---|---|---|
fitzRoy | 1 | 12 |
monashtipr | 13 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.4.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [19s]
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(fitzRoy)
>
> test_check("fitzRoy")
Starting 2 test processes
[ FAIL 1 | WARN 1 | SKIP 72 | PASS 61 ]
══ Skipped tests (72) ══════════════════════════════════════════════════════════
• On CRAN (72): 'test-fetch-betting-odds.R:4:3', 'test-fetch-fixture.R:3:3',
'test-fetch-fixture.R:27:3', 'test-fetch-fixture.R:47:3',
'test-fetch-fixture.R:68:3', 'test-fetch-fixture.R:89:3',
'test-fetch-fixture.R:102:3', 'test-fetch-fixture.R:115:3',
'test-fetch-fixture.R:126:3', 'test-fetch-fixture.R:148:3',
'test-fetch-fixture.R:165:3', 'test-fetch-ladder.R:3:3',
'test-fetch-ladder.R:32:3', 'test-fetch-ladder.R:52:3',
'test-fetch-ladder.R:73:3', 'test-fetch-ladder.R:83:3',
'test-fetch-player-details.R:3:3', 'test-fetch-player-details.R:26:3',
'test-fetch-player-details.R:38:3', 'test-fetch-player-details.R:58:3',
'test-fetch-player-details.R:85:3', 'test-fetch-player-details.R:105:3',
'test-fetch-results.R:10:3', 'test-fetch-results.R:33:3',
'test-fetch-results.R:50:3', 'test-fetch-results.R:67:3',
'test-fetch-results.R:87:3', 'test-fetch-results.R:101:3',
'test-fetch-results.R:112:3', 'test-fetch-results.R:122:3',
'test-fetch-results.R:131:3', 'test-fetch-squiggle_data.R:2:3',
'test-fetch-squiggle_data.R:18:3', 'test-fetch-squiggle_data.R:58:3',
'test-fetch_lineup.R:3:3', 'test-fetch_lineup.R:39:3',
'test-fetch_lineup.R:62:3', 'test-fetch_lineup.R:76:3',
'test-fetch_lineup.R:89:3', 'test-fetch_lineup.R:100:3',
'test-fetch_lineup.R:122:3', 'test-fetch_lineup.R:139:3',
'test-coaches-votes.R:2:3', 'test-coaches-votes.R:17:3',
'test-deprecated-functions.R:4:3', 'test-deprecated-functions.R:16:3',
'test-deprecated-functions.R:27:3', 'test-deprecated-functions.R:38:3',
'test-deprecated-functions.R:49:3', 'test-deprecated-functions.R:60:3',
'test-deprecated-functions.R:71:3', 'test-deprecated-functions.R:82:3',
'test-fetch-player-stats.R:12:3', 'test-fetch-player-stats.R:45:3',
'test-fetch-player-stats.R:74:3', 'test-fetch-player-stats.R:98:3',
'test-fetch-player-stats.R:121:3', 'test-helpers-afl.R:12:3',
'test-helpers-afl.R:22:3', 'test-helpers-afl.R:32:3',
'test-helpers-afltables-playerstats.R:3:3',
'test-helpers-afltables-playerstats.R:16:3',
'test-helpers-afltables-playerstats.R:26:3', 'test-helpers-afltables.R:20:3',
'test-helpers-footywire.R:3:3', 'test-helpers-footywire.R:14:3',
'test-helpers-general.R:3:3', 'test-helpers-general.R:15:3',
'test-helpers-general.R:28:3', 'test-helpers-general.R:45:3',
'test-helpers-general.R:70:3', 'test-womens_stats.R:11:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-team_colour_palettes.R:3:3'): get_afl_colour_palletes works ────
Error in `url("http://www.fryziggafl.net/static/team_colours.rda", "rb")`: cannot open the connection to 'http://www.fryziggafl.net/static/team_colours.rda'
Backtrace:
▆
1. ├─testthat::expect_s3_class(get_afl_colour_palettes(), "data.frame") at test-team_colour_palettes.R:3:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─fitzRoy:::get_afl_colour_palettes()
5. ├─base::readRDS(...)
6. └─base::url(...)
[ FAIL 1 | WARN 1 | SKIP 72 | PASS 61 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64
Current CRAN status: OK: 13