Nothing
Code
(expect_error(vec_ptype2(I(1), I("x")), class = "vctrs_error_incompatible_type")
)
Output
<error/vctrs_error_ptype2>
Error:
! Can't combine `I(1)` <double> and `I("x")` <character>.
Code
(expect_error(vec_cast(I(1), I(factor("x"))), class = "vctrs_error_incompatible_type")
)
Output
<error/vctrs_error_cast>
Error:
! Can't convert `I(1)` <double> to <factor<bf275>>.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.