start
must be less than end
Code
iv(2, 2)
Condition
Error in `iv()`:
! `start` must be less than `end`.
i `start` is not less than `end` at locations: `1`.
Code
iv(3, 2)
Condition
Error in `iv()`:
! `start` must be less than `end`.
i `start` is not less than `end` at locations: `1`.
Code
iv(x, y)
Condition
Error in `iv()`:
! `start` must be less than `end`.
i `start` is not less than `end` at locations: `c(1, 2, 3, 4, 5)` and 15 more.
Code
iv("x", 1)
Condition
Error in `iv()`:
! Can't combine `start` <character> and `end` <double>.
Code
iv(1:2, 1:3)
Condition
Error in `iv()`:
! Can't recycle `start` (size 2) to match `end` (size 3).
Code
iv(NULL, 2)
Condition
Error in `iv()`:
! `start` must be a vector.
Code
iv(2, NULL)
Condition
Error in `iv()`:
! `end` must be a vector.
Code
iv_pairs(c(1, 2), 3)
Condition
Error in `iv_pairs()`:
! All inputs must be in pairs of size 2.
i Input 2 is size 1.
Code
iv_pairs()
Condition
Error in `iv_pairs()`:
! Must supply at least one input.
Code
iv_pairs(c("a", "b"), c(1, 2))
Condition
Error in `iv_pairs()`:
! Can't combine `..1` <character> and `..2` <double>.
Code
check_iv(1)
Condition
Error:
! `1` must be an <iv>, not the number 1.
Code
my_check()
Condition
Error in `my_check()`:
! `x` must be an <iv>, not absent.
Code
my_check(1)
Condition
Error in `my_check()`:
! `x` must be an <iv>, not the number 1.
Code
vec_ptype2(iv("x", "y"), iv(1L, 2L))
Condition
Error:
! Can't combine `iv("x", "y")` <character> and `iv(1L, 2L)` <integer>.
Code
vec_cast(iv("x", "y"), iv(1L, 2L))
Condition
Error:
! Can't convert `iv("x", "y")` <character> to <integer>.
Code
vec_ptype_abbr(iv(1, 2))
Output
[1] "iv<dbl>"
Code
vec_ptype_abbr(iv(data_frame(x = 1), data_frame(x = 2)))
Output
[1] "iv<df[,1]>"
Code
vec_ptype_full(iv(1, 2))
Output
[1] "iv<double>"
Code
vec_ptype_full(iv(data_frame(x = 1, y = 2), data_frame(x = 2, y = 3)))
Output
[1] "iv<data.frame<\n x: double\n y: double\n>>"
Code
iv_restore(1, 2)
Condition
Error in `iv_restore()`:
! Object `to`, with type <numeric>, is not an <iv> and does not implement an `iv_restore()` method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.