File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 2828 if_else(x < 2, bad, x)
2929 Condition
3030 Error in `if_else()`:
31- ! `true` must have size 3, not size 2 .
31+ ! Can't recycle `true` ( size 2) to size 3 .
3232
3333---
3434
3535 Code
3636 if_else(x < 2, x, bad)
3737 Condition
3838 Error in `if_else()`:
39- ! `false` must have size 3, not size 2 .
39+ ! Can't recycle `false` ( size 2) to size 3 .
4040
4141---
4242
4343 Code
4444 if_else(x < 2, x, x, missing = bad)
4545 Condition
4646 Error in `if_else()`:
47- ! `missing` must have size 3, not size 2 .
47+ ! Can't recycle `missing` ( size 2) to size 3 .
4848
4949# must have empty dots
5050
6666 ! Can't convert from `false` <double> to <integer> due to loss of precision.
6767 * Locations: 1
6868
69- # ` size ` overrides the ` condition ` size
70-
71- Code
72- if_else(TRUE, 1, 2, size = 2)
73- Condition
74- Error in `if_else()`:
75- ! `condition` must have size 2, not size 1.
76-
You can’t perform that action at this time.
0 commit comments