Last updated on 2024-05-03 22:53:44 CEST.
Package | ERROR | OK |
---|---|---|
fitzRoy | 2 | 9 |
monashtipr | 11 |
Current CRAN status: ERROR: 2, OK: 9
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [8s/21s]
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")
[ FAIL 1 | WARN 0 | SKIP 67 | PASS 62 ]
══ Skipped tests (67) ══════════════════════════════════════════════════════════
• On CRAN (67): '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:103:3', 'test-fetch-fixture.R:116:3',
'test-fetch-fixture.R:127:3', 'test-fetch-fixture.R:149:3',
'test-fetch-fixture.R:166: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:19:3', 'test-fetch-squiggle_data.R:64: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-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-fetch-player-stats.R:3:1'): (code run outside of `test_that()`) ──
Error in `(function (con, what, n = 1L, size = NA_integer_, signed = TRUE,
endian = .Platform$endian)
{
if (!endian %in% c("big", "little", "swap"))
stop("invalid 'endian' argument")
if (is.character(con)) {
con <- file(con, "rb")
on.exit(close(con))
}
swap <- endian != .Platform$endian
if (!is.character(what) || is.na(what) || length(what) !=
1L || !any(what == c("numeric", "double", "integer",
"int", "logical", "complex", "character", "raw")))
what <- typeof(what)
.Internal(readBin(con, what, n, size, signed, swap))
})(structure(4L, class = c("curl", "connection"), conn_id = <pointer: 0x118>),
raw(0), 131071L)`: Failed writing received data to disk/application
Backtrace:
▆
1. ├─fitzRoy::fetch_results_afltables(current_year) at test-fetch-player-stats.R:3:1
2. │ └─readr::read_fwf(url_text, skip = 2, col_positions = cols, col_types = c("dcccccccc"))
3. │ └─vroom::vroom_fwf(...)
4. │ └─vroom:::vroom_fwf_(...)
5. └─base (local) `<fn>`(`<curl>`, `<raw>`, 131071L)
[ FAIL 1 | WARN 0 | SKIP 67 | PASS 62 ]
Deleting unused snapshots:
• fetch-player-stats-legacy.md
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [2s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
"rb")`: Timeout was reached: [afltables.com] Resolving timed out after 10008 milliseconds
Backtrace:
▆
1. ├─fitzRoy::fetch_results_afltables(current_year) at test-fetch-player-stats.R:3:1
2. │ └─readr::read_fwf(url_text, skip = 2, col_positions = cols, col_types = c("dcccccccc"))
3. │ └─vroom::vroom_fwf(...)
4. │ └─vroom:::vroom_fwf_(...)
5. ├─base (local) `<fn>`(`<curl>`, "rb")
6. └─base::open.connection(`<curl>`, "rb")
[ FAIL 1 | WARN 0 | SKIP 67 | PASS 62 ]
Deleting unused snapshots:
• fetch-player-stats-legacy.md
Error: Test failures
Execution halted
Flavor: r-release-macos-arm64
Current CRAN status: OK: 11