- using R version 4.5.0 beta (2025-03-29 r88069)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘fitzRoy/DESCRIPTION’ ... OK
- this is package ‘fitzRoy’ version ‘1.6.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘fitzRoy’ can be installed ... [3s/4s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s/3s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [0s/0s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/14s] ERROR
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [23s/29s] OK
- checking PDF version of manual ... [4s/5s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '