- using R Under development (unstable) (2024-12-23 r87457)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- 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 ... [21s/25s] OK
See the install log for details.
- checking package directory ... 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [28s/29s] OK
- checking Rd files ... 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 ... 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 ... [45s/46s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [56s/57s] ERROR
Running ‘testthat.R’ [56s/56s]
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 ... [94s/95s] OK
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR