Nothing
.to is not suppliedCode
rray_cast_common()
Condition
Error:
! Must supply at least one array to `...`.
... has no common typeCode
rray_cast_common(1L, "a")
Condition
Error:
! Can't combine `..1` <integer> and `..2` <character>.
...Code
rray_cast_common(1L, 2.5, .to = integer())
Condition
Error:
! Can't convert from `..2` <double> to <integer> due to loss of precision at location 1.
.arg names ... as a wholeCode
rray_cast_common(1L, "a", .arg = "foo")
Condition
Error:
! Can't combine `foo[[1]]` <integer> and `foo[[2]]` <character>.
Code
rray_cast_common(1L, 2.5, .to = integer(), .arg = "foo")
Condition
Error:
! Can't convert from `foo[[2]]` <double> to <integer> due to loss of precision at location 1.
.to_arg renames .to in the errorCode
rray_cast_common(1, .to = sum, .to_arg = "target")
Condition
Error:
! `target` must be an array, not a primitive function.
.call blames the callerCode
f(1L, 2.5)
Condition
Error in `f()`:
! Can't convert from `..2` <double> to <integer> due to loss of precision at location 1.
.toCode
rray_cast_common(1, .to = sum)
Condition
Error:
! `.to` must be an array, not a primitive function.
Code
rray_cast_common(1, .to = structure(1, class = "foo"))
Condition
Error:
! `.to` must be a bare array, not a <foo> object.
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.