fitzRoy
Easily Scrape and Process AFL Data
v1.6.0
·
Dec 10, 2024
·
MIT + file LICENSE
Description
An easy package for scraping and processing Australia Rules Football (AFL) data. 'fitzRoy' provides a range of functions for accessing publicly available data from 'AFL Tables' <https://afltables.com/afl/afl_index.html>, 'Footy Wire' <https://www.footywire.com> and 'The Squiggle' <https://squiggle.com.au>. Further functions allow for easy processing, cleaning and transformation of this data into formats that can be used for analysis.
Downloads
870
Last 30 days
4104th
870
Last 90 days
870
Last year
CRAN Check Status
1
ERROR
13
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | ERROR |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
OK
r-devel-linux-x86_64-debian-clang
*
OK
r-devel-linux-x86_64-debian-gcc
*
OK
r-devel-linux-x86_64-fedora-clang
*
OK
r-devel-linux-x86_64-fedora-gcc
*
OK
r-devel-macos-arm64
*
OK
r-devel-windows-x86_64
*
OK
r-oldrel-macos-arm64
*
OK
r-oldrel-macos-x86_64
*
OK
r-oldrel-windows-x86_64
*
OK
r-patched-linux-x86_64
*
OK
r-release-linux-x86_64
*
ERROR
r-release-macos-arm64
tests
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [5s/14s]
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 62 | PASS 49 ]
══ Skipped tests (62) ══════════════════════════════════════════════════════════
• On CRAN (62): 'test-fetch-results.R:10:3', 'test-fetch-results.R:33:3',
'test-fetch-results.R:50:3', 'test-fetch-results.R:70:3',
'test-fetch-results.R:90:3', 'test-fetch-results.R:104:3',
'test-fetch-results.R:115:3', 'test-fetch-results.R:124:3',
'test-fetch-results.R:133:3', 'test-fetch-lineup.R:2:3',
'test-fetch-lineup.R:37:3', 'test-fetch-lineup.R:60:3',
'test-fetch-lineup.R:74:3', 'test-fetch-lineup.R:87:3',
'test-fetch-lineup.R:98:3', 'test-fetch-lineup.R:120:3',
'test-fetch-lineup.R:137:3', 'test-fetch-fixture.R:2:3',
'test-fetch-fixture.R:26:3', 'test-fetch-fixture.R:46:3',
'test-fetch-fixture.R:67:3', 'test-fetch-fixture.R:88:3',
'test-fetch-fixture.R:101:3', 'test-fetch-fixture.R:114:3',
'test-fetch-fixture.R:125:3', 'test-fetch-fixture.R:147:3',
'test-fetch-fixture.R:164:3', 'test-fetch-betting-odds.R:2:3',
'test-fetch-ladder.R:2:3', 'test-fetch-ladder.R:33:3',
'test-fetch-ladder.R:53:3', 'test-fetch-ladder.R:74:3',
'test-fetch-ladder.R:84:3', 'test-fetch-player-details.R:2:3',
'test-fetch-player-details.R:25:3', 'test-fetch-player-details.R:37:3',
'test-fetch-player-details.R:57:3', 'test-fetch-player-details.R:84:3',
'test-fetch-player-details.R:104:3', 'test-fetch-squiggle_data.R:2:3',
'test-fetch-squiggle_data.R:18:3', 'test-fetch-squiggle_data.R:57:3',
'test-helpers-footywire.R:3:3', 'test-helpers-footywire.R:14:3',
'test-coaches-votes.R:2:3', 'test-coaches-votes.R:17:3',
'test-helpers-afl.R:11:3', 'test-helpers-afl.R:21:3',
'test-helpers-afl.R:32:3', 'test-helpers-afl.R:42:3',
'test-helpers-afl.R:56:3', 'test-helpers-afltables-playerstats.R:2:3',
'test-helpers-afltables-playerstats.R:17:3',
'test-helpers-afltables-playerstats.R:27:3', 'test-helpers-afltables.R:19:3',
'test-helpers-general.R:2:3', 'test-helpers-general.R:14:3',
'test-helpers-general.R:27:3', 'test-helpers-general.R:44:3',
'test-helpers-general.R:69:3', 'test-team_colour_palettes.R:2:3',
'test-womens_stats.R:11:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-fetch-player-stats.R:5:1'): (code run outside of `test_that()`) ──
Error in `open.connection(structure(4L, class = c("curl", "connection"), conn_id = <pointer: 0x126eca220>),
"rb")`: cannot open the connection
Backtrace:
▆
1. ├─fitzRoy::fetch_results_afltables(current_year) at test-fetch-player-stats.R:5: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 1 | SKIP 62 | PASS 49 ]
Error: Test failures
Execution halted
OK
r-release-macos-x86_64
*
OK
r-release-windows-x86_64
*
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR
r-release-macos-arm64
tests
Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [5s/14s] 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)
Dependency Network
Version History
new
1.6.0
Mar 9, 2026