- using R Under development (unstable) (2024-04-23 r86473)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (Debian 13.2.0-23) 13.2.0
GNU Fortran (Debian 13.2.0-23) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘atime/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘atime’ version ‘2024.4.17’
- 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 ‘atime’ 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 ... 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/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/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/12s] OK
- checking Rd files ... [0s/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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [12s/19s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
atime 4.611 0.126 7.016
atime_grid 3.358 0.090 5.241
references_best 3.368 0.071 5.547
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/13s] ERROR
Running ‘testthat.R’ [8s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if(require(testthat))test_check("atime")
Loading required package: testthat
Loading required package: atime
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 41 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-CRAN.R:70:3'): more units defined in 1 row result ────────────
`disp.units` not identical to `expected.units`.
Lengths differ: 4 is not 5
── Failure ('test-CRAN.R:82:3'): more units defined in 1 row result ────────────
`{ ... }` threw an error with unexpected message.
Expected match: "foobar is not a valid unit; argument names of predict must be one of these valid units: int, kilobytes, match.len, num, seconds"
Actual message: "foobar is not a valid unit; argument names of predict must be one of these valid units: int, match.len, num, seconds"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-CRAN.R:82:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─stats::predict(ref.list, foobar = 0) at test-CRAN.R:83:5
7. └─atime:::predict.references_best(ref.list, foobar = 0)
8. ├─...[]
9. └─data.table::`[.data.table`(...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 41 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [77s/132s] OK
- checking PDF version of manual ... [4s/11s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR