- using R Under development (unstable) (2023-02-01 r83747)
- using platform: x86_64-pc-linux-gnu (64-bit)
- R was compiled by
gcc-12 (Debian 12.2.0-14) 12.2.0
GNU Fortran (Debian 12.2.0-14) 12.2.0
- running under: Debian GNU/Linux bookworm/sid
- using session charset: UTF-8
- checking for file ‘dtplyr/DESCRIPTION’ ... OK
- this is package ‘dtplyr’ version ‘1.2.2’
- 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 serialization versions ... OK
- checking whether package ‘dtplyr’ can be installed ... OK
- 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/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/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 ... [13s/26s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [9s/16s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [15s/25s] ERROR
Running ‘testthat.R’ [15s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(dtplyr)
>
> test_check("dtplyr")
[ FAIL 1 | WARN 1 | SKIP 25 | PASS 603 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (24)
• transmuting grouping vars with nesting is not supported (1)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-step-subset-slice.R:122'): slice_*() checks for empty ... ──────
Error in `slice_head(dt, 5)`: `n` must be explicitly named.
i Did you mean `slice_head(n = 5)`?
Backtrace:
▆
1. ├─testthat::expect_error(slice_head(dt, 5), class = "rlib_error_dots_nonempty") at test-step-subset-slice.R:122:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─dplyr::slice_head(dt, 5)
8. └─dplyr:::check_slice_unnamed_n_prop(..., n = n, prop = prop)
9. └─rlang::abort(bullets, call = error_call)
[ FAIL 1 | WARN 1 | SKIP 25 | PASS 603 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [4s/7s] OK
- checking PDF version of manual ... [5s/13s] OK
- checking HTML version of manual ... [1s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR