- using R Under development (unstable) (2025-02-28 r87848)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-16) 14.2.0
GNU Fortran (Debian 14.2.0-16) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘talkr/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘talkr’ version ‘0.1.3’
- 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 ‘talkr’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘add_lines.R’ ‘init.R’ ‘plots.R’ ‘report.R’ ‘tokenize.R’
- 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/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 ... [6s/7s] OK
- checking Rd files ... [0s/0s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... NONE
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘testthat.R’ [3s/5s]
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(talkr)
>
> test_check("talkr")
[ FAIL 2 | WARN 2 | SKIP 1 | PASS 71 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-calculate_timing.R:5:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-plots.R:15:1'): (code run outside of `test_that()`) ────────────
Error in `file(file, "rt")`: cannot open the connection to 'https://raw.githubusercontent.com/elpaco-escience/ifadv/csv/data/ifadv.csv'
Backtrace:
▆
1. └─talkr::get_ifadv() at test-plots.R:15:1
2. └─utils::read.csv(source)
3. └─utils::read.table(...)
4. └─base::file(file, "rt")
── Error ('test-report.R:2:1'): (code run outside of `test_that()`) ────────────
Error in `file(file, "rt")`: cannot open the connection to 'https://raw.githubusercontent.com/elpaco-escience/ifadv/csv/data/ifadv.csv'
Backtrace:
▆
1. └─talkr::get_ifadv() at test-report.R:2:1
2. └─utils::read.csv(source)
3. └─utils::read.table(...)
4. └─base::file(file, "rt")
[ FAIL 2 | WARN 2 | SKIP 1 | PASS 71 ]
Deleting unused snapshots:
• plots/plot_quality.png
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s/2s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘workflows.Rmd’ using rmarkdown
Quitting from lines 35-38 [unnamed-chunk-2] (workflows.Rmd)
Error: processing vignette 'workflows.Rmd' failed with diagnostics:
cannot open the connection to 'https://raw.githubusercontent.com/elpaco-escience/ifadv/csv/data/ifadv.csv'
--- failed re-building ‘workflows.Rmd’
SUMMARY: processing the following file failed:
‘workflows.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE