- using R Under development (unstable) (2026-06-06 r90114)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.1.0-1) 16.1.0
GNU Fortran (Debian 16.1.0-1) 16.1.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-06-07 14:31:54 UTC
- checking for file ‘videogameinsightsR/DESCRIPTION’ ... OK
- this is package ‘videogameinsightsR’ version ‘0.1.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/2s] OK
- 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 ‘videogameinsightsR’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [11s/12s] 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 examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/7s] ERROR
Running ‘testthat.R’ [3s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(videogameinsightsR)
>
> test_check("videogameinsightsR")
Saving _problems/test-utils-28.R
[ FAIL 1 | WARN 17 | SKIP 11 | PASS 125 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• VGI_AUTH_TOKEN not set (8): 'test-api-responses.R:68:3',
'test-data-processing.R:77:3', 'test-game-comparison.R:5:3',
'test-game-comparison.R:20:3', 'test-game-comparison.R:32:3',
'test-game-comparison.R:57:3', 'test-game-comparison.R:216:3',
'test-game-comparison.R:232:3'
• empty test (3): 'test-api-responses.R:4:1', 'test-data-processing.R:39:1',
'test-data-processing.R:61:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-utils.R:28:3'): validate_platform works correctly ──────────────
Error in `file(file, if (append) "a" else "w")`: cannot open the connection
Backtrace:
▆
1. └─testthat::expect_silent(validate_platform("steam")) at test-utils.R:28:3
2. └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. └─testthat (local) .capture(...)
4. └─withr::with_output_sink(...)
5. └─withr:::set_output_sink(file = new, append = append, split = split)
6. └─withr:::output_sink(file = file, append = append, split = split)
7. └─base::sink(file = file, append = append, type = "output", split = split)
8. └─base::file(file, if (append) "a" else "w")
[ FAIL 1 | WARN 17 | SKIP 11 | PASS 125 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [5s/5s] OK
- checking HTML version of manual ... [3s/4s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR