Code
str_split(letters[1:3], letters[1:2])
Condition
Error in `str_split()`:
! Can't recycle `string` (size 3) to match `pattern` (size 2).
Code
str_split("x", 1)
Condition
Error in `str_split()`:
! `pattern` must be a string, not a number.
Code
str_split("x", "x", n = 0)
Condition
Error in `str_split()`:
! `n` must be a number larger than 1, not the number 0.
`string` must be a single string, not a character vector.
Code
str_split_fixed("x", "x", 0)
Condition
Error in `str_split_fixed()`:
! `n` must be a number larger than 1, not the number 0.
Code
str_split_i("x", "x", 0)
Condition
Error in `str_split_i()`:
! `i` must not be 0.
Code
str_split_i("x", "x", 0.5)
Condition
Error in `str_split_i()`:
! `i` must be a whole number, not the number 0.5.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.