- using R Under development (unstable) (2024-12-17 r87446 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'xpose' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [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 ... [11s] OK
- checking Rd files ... [2s] OK
- checking Rd metadata ... 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 ... [1s] 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 ... [39s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [35s] ERROR
Running 'testthat.R' [35s]
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 D:\RCompile\CRANpkg\local\4.5\xpose.Rcheck\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 D:\RCompile\CRANpkg\local\4.5\xpose.Rcheck\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 ... [63s] OK
- checking PDF version of manual ... [26s] OK
- checking HTML version of manual ... [19s] OK
- DONE
Status: 1 ERROR