- using R version 4.4.3 (2025-02-28 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 'orderly/DESCRIPTION' ... OK
- this is package 'orderly' version '2.0.0'
- 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 'orderly' 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 ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [0s] 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 ... [18s] OK
- checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [24s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [207s] ERROR
Running 'testthat.R' [206s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(orderly)
>
> test_check("orderly")
Saving _problems/test-util-676.R
[ FAIL 1 | WARN 0 | SKIP 18 | PASS 2203 ]
══ Skipped tests (18) ══════════════════════════════════════════════════════════
• On CRAN (17): 'test-compare.R:1:1', 'test-compare.R:11:1',
'test-compare.R:27:1', 'test-compare.R:43:1', 'test-compare.R:60:1',
'test-compare.R:80:1', 'test-compare.R:107:1', 'test-compare.R:130:1',
'test-compare.R:153:1', 'test-outpack-packet.R:858:3',
'test-outpack-store.R:80:3', 'test-read.R:153:3', 'test-read.R:165:3',
'test-util.R:304:3', 'test-util.R:488:3', 'test-zzz-location-http.R:6:3',
'test-zzz-location-http.R:80:3'
• On Windows (1): 'test-outpack-config.R:18:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-util.R:676:3'): replace_ragged with an empty result preserves the input's type ──
<vctrs_error_cast/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `vctrs::list_unchop(ret, ptype = vctrs::vec_ptype(x))`: Can't convert `x[[1]]` <double> to <character>.
Backtrace:
▆
1. ├─orderly:::replace_ragged("foo", 1, list(numeric(0))) at test-util.R:676:3
2. │ └─vctrs::list_unchop(ret, ptype = vctrs::vec_ptype(x))
3. └─vctrs (local) `<fn>`()
4. └─vctrs::vec_default_cast(...)
5. ├─base::withRestarts(...)
6. │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ └─base (local) doWithOneRestart(return(expr), restart)
8. └─vctrs::stop_incompatible_cast(...)
9. └─vctrs::stop_incompatible_type(...)
10. └─vctrs:::stop_incompatible(...)
11. └─vctrs:::stop_vctrs(...)
12. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 0 | SKIP 18 | PASS 2203 ]
Error:
! Test failures.
Execution halted
Ran 16/16 deferred expressions
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [38s] OK
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [10s] OK
- DONE
Status: 1 ERROR