* using log directory ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/fitzRoy.Rcheck’ * using R Under development (unstable) (2024-04-27 r86487) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.4 (1) Debian flang-new version 18.1.4 (1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘fitzRoy/DESCRIPTION’ ... OK * this is package ‘fitzRoy’ version ‘1.3.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 ... OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/fitzRoy-00install.html' for details. * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/2s] OK * checking loading without being on the library search path ... [1s/2s] OK * checking use of S3 registration ... 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 ... [17s/21s] OK * checking Rd files ... [1s/1s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 R/sysdata.rda ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [1s/2s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [8s/22s] 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 = ), 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) ``(``, ``, 131071L) [ FAIL 1 | WARN 0 | SKIP 67 | PASS 62 ] Deleting unused snapshots: • fetch-player-stats-legacy.md Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [28s/40s] OK * checking PDF version of manual ... [6s/8s] OK * checking HTML version of manual ... [1s/3s] OK * checking for non-standard things in the check directory ... OK * DONE Status: 1 ERROR