Nothing
Code
(expect_error(slide_index2_vec(1:2, 1:2, 1:2, fn, .ptype = NULL), class = "vctrs_error_incompatible_type")
)
Output
<error/vctrs_error_ptype2>
Error in `slide_index2_vec()`:
! Can't combine `out[[1]]` <double> and `out[[2]]` <character>.
Code
(expect_error(slide_index2_int(1:2, 1:2, 1:2, fn), class = "vctrs_error_incompatible_type")
)
Output
<error/vctrs_error_cast>
Error:
! Can't convert <character> to <integer>.
Code
(expect_error(slide_index2_chr(1, 1, 1, ~.x), class = "vctrs_error_incompatible_type")
)
Output
<error/vctrs_error_cast>
Error:
! Can't convert <double> to <character>.
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.