- using R Under development (unstable) (2024-12-18 r87448)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.5 (1)
Debian flang-new version 19.1.5 (1)
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘xpose/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘xpose’ version ‘0.4.18’
- 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 ‘xpose’ 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 ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] 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 ... [2s/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 ... [21s/28s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [2s/2s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [38s/47s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [47s/61s] ERROR
Running ‘testthat.R’ [47s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(xpose)
Loading required package: ggplot2
Attaching package: 'xpose'
The following object is masked from 'package:stats':
filter
>
> test_check("xpose")
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 377 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-model-summary.R:59:3', 'test-read_nm_files.R:54:3',
'test-read_nm_tables.R:61:3', 'test-read_nm_tables.R:71:3',
'test-vpc.R:50:3', 'test-xpose_data.R:31:3', 'test-xpose_data.R:47:3',
'test-xpose_save.R:22:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-plots.R:33:1'): (code run outside of `test_that()`) ────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `purrr::map(X, function(x) {
code_x <- substitute_q(code, list(.fun = as.symbol(x)) %>%
purrr::set_names(paste0(".", name_x)))
attr(code_x, "srcref") <- attr(code, "srcref")
do.call(get("test_code", envir = asNamespace("testthat")),
list(test = paste(desc, "for", name_x, x), code = code_x,
env = envir), envir = envir)
})`: ℹ In index: 1.
Caused by error:
! argument "reporter" is missing, with no default
Backtrace:
▆
1. ├─xpose:::test_that_for_all(...) at test-plots.R:33:1
2. │ └─purrr::map(...) at tests/testthat/helper-test_that_for_all.R:13:3
3. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
4. │ ├─purrr:::with_indexed_errors(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ ├─purrr:::call_with_cleanup(...)
7. │ └─xpose (local) .f(.x[[i]], ...)
8. │ └─base::do.call(...) at tests/testthat/helper-test_that_for_all.R:20:7
9. ├─testthat (local) `<fn>`(...)
10. └─purrr (local) `<fn>`(`<gtvrErrr>`)
11. └─cli::cli_abort(...)
12. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 377 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [68s/78s] OK
- checking PDF version of manual ... [5s/5s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR