- using R Under development (unstable) (2023-10-01 r85245)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 16.0.6 (15)
GNU Fortran (Debian 13.2.0-4) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘useful/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘useful’ version ‘1.2.6’
- 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 serialization versions ... OK
- checking whether package ‘useful’ 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [2s/3s] 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/16s] 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 ... [28s/32s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [20s/25s] ERROR
Running ‘testthat.R’ [19s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(useful)
Loading required package: ggplot2
>
> test_check("useful")
Error in detach("package:coefplot", unload = TRUE) :
invalid 'name' argument
[ FAIL 1 | WARN 30 | SKIP 2 | PASS 740 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• On CRAN (2): 'test-load-packages.R:11:5', 'test-load-packages.R:18:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-shiftColumn.r:6:5'): shift.column returns data.frames (or appropriate errors) ──
Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
Backtrace:
▆
1. ├─testthat::skip_if(getRversion() <= 3.4) at test-shiftColumn.r:6:4
2. │ └─base::isTRUE(condition)
3. └─base::Ops.numeric_version(getRversion(), 3.4)
4. └─base::as.numeric_version(e2)
5. └─base::numeric_version(x)
6. └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
[ FAIL 1 | WARN 30 | SKIP 2 | PASS 740 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [7s/11s] OK
- checking HTML version of manual ... [2s/4s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR