Closed teunbrand closed 2 months ago
This PR aims to fix #1700.
It restores an error that should be thrown when size = 1 is requested, but input has larger vectors. Reprex from issue with this PR:
size = 1
rlang:::vec_recycle_common(list(a = 1, b = 1:2), size = 1) #> Error: Inputs can't be recycled to `size`.
Created on 2024-04-17 with reprex v2.1.0
Can you add a test please?
Sure thing!
Thanks!
This PR aims to fix #1700.
It restores an error that should be thrown when
size = 1
is requested, but input has larger vectors. Reprex from issue with this PR:Created on 2024-04-17 with reprex v2.1.0