left
and right
to the type of x
(#74)Code
between(1L, 1.5, 2L)
Condition
Error in `between()`:
! Can't convert from `left` <double> to <integer> due to loss of precision.
* Locations: 1
Code
between(1L, 1L, 2.5)
Condition
Error in `between()`:
! Can't convert from `right` <double> to <integer> due to loss of precision.
* Locations: 1
left
and right
to the size of x
(#74)Code
between(1:3, 1:2, 1L)
Condition
Error in `between()`:
! Can't recycle `left` (size 2) to size 3.
Code
between(1:3, 1L, 1:2)
Condition
Error in `between()`:
! Can't recycle `right` (size 2) to size 3.
bounds
Code
between(1:2, 1, 1, bounds = "")
Condition
Error in `between()`:
! `bounds` must be one of "[]", "[)", "(]", or "()", not "".
Code
between(1:2, 1, 1, bounds = 1)
Condition
Error in `arg_match0()`:
! `bounds` must be a string or character vector.
Code
between(1, 0, 1, "[]")
Condition
Error in `between()`:
! `...` must be empty.
x Problematic argument:
* ..1 = "[]"
i Did you forget to name an argument?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.