MutationalPatterns fails one test when using latest version of stringr
Hi,
after uploading stringgr 1.5.0 to the Debian package pool
MutationalPatterns fails with:
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-lengthen_mut_matrix.R:16'): (code run outside of `test_that()`) ──
<vctrs_error_incompatible_size/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `stringr::str_c(rownames(mut_matrix), "_", types_rownames)`: Can't recycle `..1` (size 96) to match `..3` (size 384).
Backtrace:
▆
1. ├─MutationalPatterns::lengthen_mut_matrix(input) at test-lengthen_mut_matrix.R:16:0
2. │ ├─... %>% do.call(cbind, .)
3. │ └─purrr::map(mut_mat_l, .lengthen_mut_matrix_single_sample)
4. │ └─MutationalPatterns (local) .f(.x[[i]], ...)
5. │ └─stringr::str_c(rownames(mut_matrix), "_", types_rownames)
6. │ └─vctrs::vec_size_common(!!!dots)
7. ├─base::do.call(cbind, .)
8. └─vctrs::stop_incompatible_size(...)
9. └─vctrs:::stop_incompatible(...)
10. └─vctrs:::stop_vctrs(...)
11. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 299 ]
You can find a test build log here:
https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-bioc-mutationalpatterns/30185040/log.gz
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: