Code
combine()
Condition
Warning:
`combine()` was deprecated in dplyr 1.0.0.
i Please use `vctrs::vec_c()` instead.
Output
logical(0)
Code
(expect_error(combine("a", 1)))
Output
<error/vctrs_error_ptype2>
Error in `vec_c()`:
! Can't combine `..1` <character> and `..2` <double>.
Code
(expect_error(combine(factor("a"), 1L)))
Output
<error/vctrs_error_ptype2>
Error in `vec_c()`:
! Can't combine `..1` <factor<4d52a>> and `..2` <integer>.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.