* using log directory ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/xpectr.Rcheck’
* using R Under development (unstable) (2025-02-26 r87830)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    Debian clang version 19.1.7 (1+b1)
    Debian flang-new version 19.1.7 (1+b1)
* running under: Debian GNU/Linux trixie/sid
* using session charset: UTF-8
* checking for file ‘xpectr/DESCRIPTION’ ... OK
* this is package ‘xpectr’ version ‘0.4.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 ‘xpectr’ can be installed ... OK
See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/xpectr-00install.html' 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 ... [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 ... [12s/18s] OK
* checking Rd files ... [1s/2s] 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 ... [2s/2s] OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... [9s/11s] ERROR
  Running ‘testthat.R’ [8s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(xpectr)
  > 
  > test_check("xpectr")
  [ FAIL 8 | WARN 0 | SKIP 2 | PASS 620 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • skipping due to breaking changes in R 4.0.0 (2):
    'test_gxs_selection.R:1382:5', 'test_gxs_selection.R:1810:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_create_expectations.R:76:3'): expectation are created properly with create_expectations_vector() ──
  Error in `unlist(x, recursive, use.names)`: NA in coercion to Rboolean
  Backtrace:
      â–†
   1. ├─testthat::expect_equal(create_expectations_vector(vec_1), exp_vec_1) at test_create_expectations.R:76:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─xpectr:::create_expectations_vector(vec_1)
   5.   └─xpectr::element_lengths(data, length)
   6.     └─base::unlist(lapply(x, length), use.names = keep_names)
  ── Error ('test_gxs_function.R:388:3'): gxs_function() works ───────────────────
  Error in `unlist(x, recursive, use.names)`: NA in coercion to Rboolean
  Backtrace:
       â–†
    1. ├─testthat::expect_equal(...) at test_gxs_function.R:388:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─xpectr::strip(...)
    5. │ └─checkmate::assert_character(...)
    6. │   └─checkmate::checkCharacter(...)
    7. │     └─... %and% ...
    8. │       └─base::isTRUE(lhs)
    9. ├─xpectr::gxs_function(...)
   10. │ ├─... %>% unlist(recursive = TRUE)
   11. │ └─plyr::llply(...)
   12. │   ├─base::structure(lapply(pieces, .fun, ...), dim = dim(pieces))
   13. │   └─base::lapply(pieces, .fun, ...)
   14. │     └─xpectr (local) FUN(X[[i]], ...)
   15. │       └─xpectr::gxs_selection(...)
   16. │         └─xpectr:::create_expectations_vector(...)
   17. │           └─xpectr::element_lengths(data, length)
   18. │             └─base::unlist(lapply(x, length), use.names = keep_names)
   19. └─base::unlist(., recursive = TRUE)
  ── Error ('test_gxs_function.R:893:3'): gxs_function() works with extra combinations ──
  Error in `unlist(x, recursive, use.names)`: NA in coercion to Rboolean
  Backtrace:
       â–†
    1. ├─testthat::expect_equal(...) at test_gxs_function.R:893:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─xpectr::strip(...)
    5. │ └─checkmate::assert_character(...)
    6. │   └─checkmate::checkCharacter(...)
    7. │     └─... %and% ...
    8. │       └─base::isTRUE(lhs)
    9. ├─xpectr::gxs_function(...)
   10. │ ├─... %>% unlist(recursive = TRUE)
   11. │ └─plyr::llply(...)
   12. │   ├─base::structure(lapply(pieces, .fun, ...), dim = dim(pieces))
   13. │   └─base::lapply(pieces, .fun, ...)
   14. │     └─xpectr (local) FUN(X[[i]], ...)
   15. │       └─xpectr::gxs_selection(...)
   16. │         └─xpectr:::create_expectations_vector(...)
   17. │           └─xpectr::element_lengths(data, length)
   18. │             └─base::unlist(lapply(x, length), use.names = keep_names)
   19. └─base::unlist(., recursive = TRUE)
  ── Error ('test_gxs_selection.R:420:3'): list of lists expectations are created properly with gxs_selection() ──
  Error in `unlist(x, recursive, use.names)`: NA in coercion to Rboolean
  Backtrace:
      â–†
   1. └─xpectr::gxs_selection("l2", sample_n = 2, out = "return") at test_gxs_selection.R:420:3
   2.   └─xpectr:::create_expectations_vector(...)
   3.     └─xpectr::element_lengths(data, length)
   4.       └─base::unlist(lapply(x, length), use.names = keep_names)
  ── Error ('test_gxs_selection.R:531:3'): vector expectations are created properly with gxs_selection() ──
  Error in `unlist(x, recursive, use.names)`: NA in coercion to Rboolean
  Backtrace:
      â–†
   1. └─xpectr::gxs_selection("vec_1", out = "return") at test_gxs_selection.R:531:3
   2.   └─xpectr:::create_expectations_vector(...)
   3.     └─xpectr::element_lengths(data, length)
   4.       └─base::unlist(lapply(x, length), use.names = keep_names)
  ── Error ('test_gxs_selection.R:687:3'): NA expectations are created properly with gxs_selection() ──
  Error in `unlist(x, recursive, use.names)`: NA in coercion to Rboolean
  Backtrace:
      â–†
   1. └─xpectr::gxs_selection("NA", out = "return") at test_gxs_selection.R:687:3
   2.   └─xpectr:::create_expectations_vector(...)
   3.     └─xpectr::element_lengths(data, length)
   4.       └─base::unlist(lapply(x, length), use.names = keep_names)
  ── Error ('test_gxs_selection.R:788:3'): single number expectations are created properly with gxs_selection() ──
  Error in `unlist(x, recursive, use.names)`: NA in coercion to Rboolean
  Backtrace:
      â–†
   1. └─xpectr::gxs_selection("1", out = "return") at test_gxs_selection.R:788:3
   2.   └─xpectr:::create_expectations_vector(...)
   3.     └─xpectr::element_lengths(data, length)
   4.       └─base::unlist(lapply(x, length), use.names = keep_names)
  ── Error ('test_gxs_selection.R:2230:3'): round_to_tolerance argument is properly used ──
  Error in `unlist(x, recursive, use.names)`: NA in coercion to Rboolean
  Backtrace:
      â–†
   1. └─xpectr::gxs_selection(...) at test_gxs_selection.R:2230:3
   2.   └─xpectr:::create_expectations_vector(...)
   3.     └─xpectr::element_lengths(data, length)
   4.       └─base::unlist(lapply(x, length), use.names = keep_names)
  
  [ FAIL 8 | WARN 0 | SKIP 2 | PASS 620 ]
  Error: Test failures
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... [3s/6s] OK
* checking PDF version of manual ... [7s/9s] OK
* checking HTML version of manual ... [2s/2s] OK
* checking for non-standard things in the check directory ... OK
* DONE
Status: 1 ERROR