
incompatible recycling size has informative error
=================================================

> vec_recycle(1:2, 4)
Error: Can't recycle input of size 2 to size 4.

> vec_recycle(1:2, 4, x_arg = "foo")
Error: Can't recycle `foo` (size 2) to size 4.


recycling to size 1 has informative error
=========================================

> vec_recycle(1:2, 1)
Error: Can't recycle input of size 2 to size 1.

